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

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


Revision: 13983
Author: jghali
Date: 2009-09-10T10:01:25.347882Z
Commit message: disable correctly widgets when switching tabs in property palettes

Changeset: 
M  /branches/Version135/Scribus/scribus/propertiespalette.cpp

Diffs:
Index: scribus/propertiespalette.cpp
===================================================================
--- scribus/propertiespalette.cpp	(revision 13982)
+++ scribus/propertiespalette.cpp	(revision 13983)
@@ -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