r15954 by jghali - #9512: X-Pos and Y-Pos no more active after having selected a table cell

scribus-commit scribus-commit at lists.scribus.net
Tue Nov 23 00:00:33 CET 2010


Author: jghali
Date: Mon Nov 22 23:00:33 2010
New Revision: 15954

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15954
Log:
#9512: X-Pos and Y-Pos no more active after having selected a table cell

Modified:
    branches/ScribusOIF/scribus/ui/propertiespalette_xyz.cpp

Modified: branches/ScribusOIF/scribus/ui/propertiespalette_xyz.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15954&path=/branches/ScribusOIF/scribus/ui/propertiespalette_xyz.cpp
==============================================================================
--- branches/ScribusOIF/scribus/ui/propertiespalette_xyz.cpp (original)
+++ branches/ScribusOIF/scribus/ui/propertiespalette_xyz.cpp Mon Nov 22 23:00:33 2010
@@ -468,14 +468,10 @@
 	if ((m_item->isTableItem) && (m_item->isSingleSel))
 	{
 		setter = true;
-		Xpos->setEnabled(false);
-		Ypos->setEnabled(false);
 		Rotation->setEnabled(false);
 	}
-	else
-	{
-		setter = false;
-	}
+	Xpos->setEnabled(!setter);
+	Ypos->setEnabled(!setter);
 	LevelGroup->setEnabled(!setter);
 	if ((m_item->isGroupControl) || ((m_item->Groups.count() != 0) && (!m_item->isSingleSel)))
 	{




More information about the scribus-commit mailing list