r21095 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Mar 19 16:03:40 UTC 2016


Author: jghali
Date: Sat Mar 19 16:03:40 2016
New Revision: 21095

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21095
Log:
12204: Opening/Closing Properties palette tabs moves the view to the first document

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

Modified: trunk/Scribus/scribus/ui/sctreewidget.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21095&path=/trunk/Scribus/scribus/ui/sctreewidget.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/sctreewidget.cpp	(original)
+++ trunk/Scribus/scribus/ui/sctreewidget.cpp	Sat Mar 19 16:03:40 2016
@@ -92,7 +92,10 @@
 
 ScTreeWidget::ScTreeWidget(QWidget* pa) : QTreeWidget(pa)
 {
-	setFocusPolicy(Qt::NoFocus);
+	// #12204: Opening/Closing Properties palette tabs moves the view to the first document
+	// When a tab looses focus, this cause problems has Qt has to fallback to another widget
+	// for setting new focus, and this may be an arbitrary document window
+	// setFocusPolicy(Qt::NoFocus);
 	setColumnCount(1);
 	setItemDelegate(new ScTreeWidgetDelegate(this, this));
 	setRootIsDecorated(false);




More information about the scribus-commit mailing list