From 0ffd973b76470e3636577f6335186b36b96e0b9b Mon Sep 17 00:00:00 2001 From: Shawn Rutledge Date: Wed, 19 Jun 2013 13:39:21 +0200 Subject: can show the Cocoa color panel repeatedly Task-number: QTBUG-11188 Change-Id: I8491985dd6f04971a7aae2ccf7a53fd7294b799b Reviewed-by: Richard Moe Gustavsen --- src/gui/dialogs/qcolordialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/dialogs/qcolordialog.cpp b/src/gui/dialogs/qcolordialog.cpp index ac4a1aff11..3fcb1a0aab 100644 --- a/src/gui/dialogs/qcolordialog.cpp +++ b/src/gui/dialogs/qcolordialog.cpp @@ -1902,6 +1902,7 @@ void QColorDialog::setVisible(bool visible) } else { if (d->delegate) { d->closeCocoaColorPanel(); + QColorDialogPrivate::sharedColorPanelAvailable = true; setAttribute(Qt::WA_DontShowOnScreen, false); } } -- cgit v1.2.3