QT: add missing Clipboard.EndX11SelectionLock in TQtWSColorDialog.ShowModal (copy paste error).

This commit is contained in:
Bart 2024-12-14 16:41:38 +01:00
parent 4360b24b70
commit b511c5cafa

View File

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