r16266 by craig - Revert r16194: breaks focus on OS X, sends text edit focus to the Properties Palette

scribus-commit scribus-commit at lists.scribus.net
Mon Jan 17 21:50:06 CET 2011


Author: craig
Date: Mon Jan 17 20:50:06 2011
New Revision: 16266

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16266
Log:
Revert r16194: breaks focus on OS X, sends text edit focus to the Properties Palette

Modified:
    branches/Version135/Scribus/scribus/propertiespalette.cpp

Modified: branches/Version135/Scribus/scribus/propertiespalette.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16266&path=/branches/Version135/Scribus/scribus/propertiespalette.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/propertiespalette.cpp (original)
+++ branches/Version135/Scribus/scribus/propertiespalette.cpp Mon Jan 17 20:50:06 2011
@@ -1680,7 +1680,7 @@
 		return;
 	// fix for #5991: Property Palette text input box focus stays even when on another tab
 	// Disable widgets in all pages except current one - PV
-	foreach (QObject *o, TabStack->widget(t)->children())
+/*	foreach (QObject *o, TabStack->widget(t)->children())
 	{
 		// Layouts, boxes etc aren't widgets at all
 		// so let's skip them silently...
@@ -1698,7 +1698,8 @@
 			}
 		}
 	}
-/*	bool enable;
+*/
+	bool enable;
 	for (int i = 0; i < TabStack->count(); ++i)
 	{
 		enable = (i == t);
@@ -1835,7 +1836,7 @@
 			KnockOut->setChecked(!CurItem->doOverprint);
 			Overprint->setChecked(CurItem->doOverprint);
 		}
-	} */
+	}
 }
 
 void PropertiesPalette::setDoc(ScribusDoc *d)




More information about the scribus-commit mailing list