r15953 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
Mon Nov 22 23:58:51 CET 2010


Author: jghali
Date: Mon Nov 22 22:58:50 2010
New Revision: 15953

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

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

Modified: trunk/Scribus/scribus/ui/propertiespalette.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15953&path=/trunk/Scribus/scribus/ui/propertiespalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette.cpp (original)
+++ trunk/Scribus/scribus/ui/propertiespalette.cpp Mon Nov 22 22:58:50 2010
@@ -1807,8 +1807,6 @@
 		LeftLine->setChecked(CurItem->LeftLine);
 		RightLine->setChecked(CurItem->RightLine);
 		BottomLine->setChecked(CurItem->BottomLine);
-		Xpos->setEnabled(false);
-		Ypos->setEnabled(false);
 		Rotation->setEnabled(false);
 	}
 	else
@@ -1816,6 +1814,8 @@
 		setter = false;
 		TabStack3->setCurrentIndex(0);
 	}
+	Xpos->setEnabled(!setter);
+	Ypos->setEnabled(!setter);
 	LayerGroup->setEnabled(!setter);
 	if ((CurItem->isGroupControl) || ((CurItem->Groups.count() != 0) && (!CurItem->isSingleSel)))
 	{




More information about the scribus-commit mailing list