mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 13:58:15 +02:00
QT: add missing Clipboard.EndX11SelectionLock in TQtWSColorDialog.ShowModal (copy paste error).
This commit is contained in:
parent
4360b24b70
commit
b511c5cafa
@ -915,6 +915,7 @@ begin
|
||||
ColorDialog.UserChoice := mrCancel;
|
||||
|
||||
{$IFDEF HASX11}
|
||||
Clipboard.EndX11SelectionLock;
|
||||
if (QtWidgetSet.WindowManagerName = 'xfwm4') and (QApplication_activeModalWidget() <> nil) then
|
||||
begin
|
||||
AWND := HwndFromWidgetH(QApplication_activeModalWidget());
|
||||
|
Loading…
Reference in New Issue
Block a user