mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 20:36:09 +02:00
IDE: Workaround for source-edit popup menu under QT. Issue #40161
The editor-toolbar code (or related ide-intf changes) triggers an additional popup interfering with the menu.
This commit is contained in:
parent
02ea8eb6a1
commit
27bf5d2ba7
@ -327,6 +327,8 @@ var
|
||||
ActiveEditor: TSourceEditorInterface;
|
||||
ScreenXY: TPoint;
|
||||
begin
|
||||
if ActivePopupMenu <> nil then // work around for issue #40161
|
||||
exit;
|
||||
ActiveEditor := SourceEditorManagerIntf.ActiveEditor;
|
||||
if ActiveEditor=nil then
|
||||
Exit;
|
||||
|
Loading…
Reference in New Issue
Block a user