mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 15:56:10 +02:00
IDE, DebuggerOptions: Workaround for ONE occurrence of issue #0036306 / Crash in gtk with combination of TFrame, TToolbar dropdown menu and TPopupMenu and dynamic menu item creation
git-svn-id: trunk@62313 -
This commit is contained in:
parent
065d7f1e25
commit
44c48aaf97
@ -522,6 +522,11 @@ var
|
||||
m: TMenuItem;
|
||||
i: Integer;
|
||||
begin
|
||||
{$IFDEF linux}
|
||||
// Workaround for issue https://bugs.freepascal.org/view.php?id=36305 https://bugs.freepascal.org/view.php?id=36306
|
||||
tbDropMenu := TPopupMenu.Create(Self);
|
||||
tbSelect.DropdownMenu := tbDropMenu;
|
||||
{$ENDIF}
|
||||
tbDropMenu.Items.Clear;
|
||||
for i := 0 to FCopiedDbgPropertiesConfigList.Count - 1 do
|
||||
if (not FCopiedDbgPropertiesConfigList.Opt[i].IsDeleted) and
|
||||
|
Loading…
Reference in New Issue
Block a user