r15433 by craig - #9305: if no frame is selected the PP should not show any level

scribus-commit scribus-commit at lists.scribus.net
Thu Aug 19 22:34:12 CEST 2010


Author: craig
Date: Thu Aug 19 20:34:12 2010
New Revision: 15433

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15433
Log:
#9305: if no frame is selected the PP should not show any level

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

Modified: trunk/Scribus/scribus/ui/propertiespalette.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15433&path=/trunk/Scribus/scribus/ui/propertiespalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette.cpp (original)
+++ trunk/Scribus/scribus/ui/propertiespalette.cpp Thu Aug 19 20:34:12 2010
@@ -264,7 +264,7 @@
 	ZBottom->setMaximumSize( QSize( 22, 22 ) );
 	ZBottom->setIcon(QIcon(loadIcon("16/go-bottom.png")));
 	LayerGroupLayout->addWidget( ZBottom, 1, 1 );
-	LevelTxt = new QLabel( "  1", LayerGroup );
+	LevelTxt = new QLabel( "  ", LayerGroup );
 	LevelTxt->setAlignment( Qt::AlignCenter );
 	LayerGroupLayout->addWidget( LevelTxt, 0, 2, 2, 1 );
 
@@ -2163,6 +2163,7 @@
 			TabStack->widget(0)->setEnabled(false);
 			TabStack->setItemEnabled(idXYZItem, false);
 			Cpal->ChooseGrad(0);
+			LevelTxt->setText("  ");
 			break;
 		case PageItem::ImageFrame:
 		case PageItem::LatexFrame:




More information about the scribus-commit mailing list