Skip to content

Commit

Permalink
Fixed issue #95: Always call LoadFramework() in CreateWnd()
Browse files Browse the repository at this point in the history
  • Loading branch information
Joachim Marder committed Jun 4, 2018
1 parent 1498e35 commit 4c9b71f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Lib/UIRibbon.pas
Original file line number Diff line number Diff line change
Expand Up @@ -1073,8 +1073,7 @@ procedure TUIRibbon.LoadFramework;
procedure TUIRibbon.CreateWnd;
begin
inherited;
if (csRecreating in ControlState) and Available then
LoadFramework;
LoadFramework(); // Always force reload of framework, see issue #95
Load();
end;

Expand Down

0 comments on commit 4c9b71f

Please sign in to comment.