mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 05:39:17 +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;
|
ActiveEditor: TSourceEditorInterface;
|
||||||
ScreenXY: TPoint;
|
ScreenXY: TPoint;
|
||||||
begin
|
begin
|
||||||
|
if ActivePopupMenu <> nil then // work around for issue #40161
|
||||||
|
exit;
|
||||||
ActiveEditor := SourceEditorManagerIntf.ActiveEditor;
|
ActiveEditor := SourceEditorManagerIntf.ActiveEditor;
|
||||||
if ActiveEditor=nil then
|
if ActiveEditor=nil then
|
||||||
Exit;
|
Exit;
|
||||||
|
Loading…
Reference in New Issue
Block a user