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:
Martin 2023-05-06 19:49:47 +02:00
parent 02ea8eb6a1
commit 27bf5d2ba7

View File

@ -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;