r15432 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:07 CEST 2010


Author: craig
Date: Thu Aug 19 20:34:06 2010
New Revision: 15432

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

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

Modified: branches/Version135/Scribus/scribus/propertiespalette.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15432&path=/branches/Version135/Scribus/scribus/propertiespalette.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/propertiespalette.cpp (original)
+++ branches/Version135/Scribus/scribus/propertiespalette.cpp Thu Aug 19 20:34:06 2010
@@ -322,7 +322,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 );
 
@@ -2533,6 +2533,7 @@
 			TabStack->widget(0)->setEnabled(false);
 			TabStack->setItemEnabled(idXYZItem, false);
 			Cpal->ChooseGrad(0);
+			LevelTxt->setText("  ");
 			break;
 		case 2:
 			TabStack->setItemEnabled(idShapeItem, true);




More information about the scribus-commit mailing list