r24788 by craig - #16705: Fix colours and fills menu not opening properly due to menu

scribus-commit scribus-commit at lists.scribus.net
Wed Dec 29 10:14:36 UTC 2021


Author: craig
Date: Wed Dec 29 10:14:35 2021
New Revision: 24788

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24788
Log:
#16705: Fix colours and fills menu not opening properly due to menu
ownership

Modified:
    trunk/Scribus/scribus/ui/swatchcombo.cpp

Modified: trunk/Scribus/scribus/ui/swatchcombo.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24788&path=/trunk/Scribus/scribus/ui/swatchcombo.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/swatchcombo.cpp	(original)
+++ trunk/Scribus/scribus/ui/swatchcombo.cpp	Wed Dec 29 10:14:35 2021
@@ -32,7 +32,7 @@
 	dataTree = new QTreeWidget(nullptr);
 	dataTree->setHeaderHidden(true);
 	dataTree->setMinimumSize(QSize(140, 200));
-	popUp = new QMenu();
+	popUp = new QMenu(this);
 	popUpAct = new QWidgetAction(this);
 	popUpAct->setDefaultWidget(dataTree);
 	popUp->addAction(popUpAct);




More information about the scribus-commit mailing list