r13984 by jghali - disable correctly widgets when switching tabs in property palettes

scribus-commit scribus-commit at lists.scribus.net
Mon Sep 14 18:58:40 CEST 2009


Revision: 13984
Author: jghali
Date: 2009-09-10T10:02:08.626358Z
Commit message: disable correctly widgets when switching tabs in property palettes

Changeset: 
M  /trunk/Scribus/scribus/ui/propertiespalette.cpp

Diffs:
Index: scribus/ui/propertiespalette.cpp
===================================================================
--- scribus/ui/propertiespalette.cpp	(revision 13983)
+++ scribus/ui/propertiespalette.cpp	(revision 13984)
@@ -1686,7 +1686,7 @@
 		{
 			// Layouts, boxes etc aren't widgets at all
 			// so let's skip them silently...
-			QWidget * w = qobject_cast<QLineEdit*>(o);
+			QWidget * w = qobject_cast<QWidget*>(o);
 			if (w)
 				w->setEnabled(enable);
 		}




More information about the scribus-commit mailing list