mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-05 14:18:18 +02:00
QT: Fix not firing OnShow of TColorDialog and TFontDialog. Part of Issue #0030449.
git-svn-id: trunk@52815 -
This commit is contained in:
parent
df62e1d21c
commit
811a82264e
@ -890,6 +890,9 @@ begin
|
||||
X11Raise(QWidget_winID(TQtWidget(AWND).Widget));
|
||||
end;
|
||||
{$ENDIF}
|
||||
//Since TQtWSColorDialog.CreateHandle returns 0, in TCommonDialog.Close DoClose will not be called,
|
||||
//so call it from here
|
||||
ACommonDialog.DoClose;
|
||||
end;
|
||||
|
||||
{ TQtWSFontDialog }
|
||||
@ -967,6 +970,9 @@ begin
|
||||
X11Raise(QWidget_winID(TQtWidget(AWND).Widget));
|
||||
end;
|
||||
{$ENDIF}
|
||||
//Since TQtWSFontDialog.CreateHandle returns 0, in TCommonDialog.Close DoClose will not be called,
|
||||
//so call it from here
|
||||
ACommonDialog.DoClose;
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user