mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 12:29:30 +02:00
IDE: options dialog: reduce autosizing
git-svn-id: trunk@24098 -
This commit is contained in:
parent
bf3ee47952
commit
c3fb6ae2df
@ -449,8 +449,13 @@ end;
|
||||
|
||||
function TIDEOptionsDialog.ShowModal: Integer;
|
||||
begin
|
||||
CreateEditors;
|
||||
DoOpenEditor;
|
||||
DisableAutoSizing{$IFDEF DebugDisableAutoSizing}('TIDEOptionsDialog.ShowModal'){$ENDIF};
|
||||
try
|
||||
CreateEditors;
|
||||
DoOpenEditor;
|
||||
finally
|
||||
EnableAutoSizing{$IFDEF DebugDisableAutoSizing}('TIDEOptionsDialog.ShowModal'){$ENDIF};
|
||||
end;
|
||||
Result := inherited ShowModal;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user