r17060 by fschmid - Level indicator in the properties palette works again.

scribus-commit scribus-commit at lists.scribus.net
Sun Dec 4 09:55:51 UTC 2011


Author: fschmid
Date: Sun Dec  4 09:55:51 2011
New Revision: 17060

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17060
Log:
Level indicator in the properties palette works again.

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

Modified: trunk/Scribus/scribus/ui/propertiespalette_xyz.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17060&path=/trunk/Scribus/scribus/ui/propertiespalette_xyz.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_xyz.cpp (original)
+++ trunk/Scribus/scribus/ui/propertiespalette_xyz.cpp Sun Dec  4 09:55:51 2011
@@ -1119,6 +1119,8 @@
 	if (!m_haveDoc || !m_haveItem || !m_ScMW || m_ScMW->scriptIsRunning())
 		return;
 	m_ScMW->view->LowerItem();
+	QString tm;
+	levelLabel->setText(tm.setNum(m_doc->Items->indexOf(m_item) + 1));
 }
 
 void PropertiesPalette_XYZ::handleRaise()
@@ -1126,6 +1128,8 @@
 	if (!m_haveDoc || !m_haveItem || !m_ScMW || m_ScMW->scriptIsRunning())
 		return;
 	m_ScMW->view->RaiseItem();
+	QString tm;
+	levelLabel->setText(tm.setNum(m_doc->Items->indexOf(m_item) + 1));
 }
 
 void PropertiesPalette_XYZ::handleFront()
@@ -1133,6 +1137,8 @@
 	if (!m_haveDoc || !m_haveItem || !m_ScMW || m_ScMW->scriptIsRunning())
 		return;
 	m_ScMW->view->ToFront();
+	QString tm;
+	levelLabel->setText(tm.setNum(m_doc->Items->indexOf(m_item) + 1));
 }
 
 void PropertiesPalette_XYZ::handleBack()
@@ -1140,6 +1146,8 @@
 	if (!m_haveDoc || !m_haveItem || !m_ScMW || m_ScMW->scriptIsRunning())
 		return;
 	m_ScMW->view->ToBack();
+	QString tm;
+	levelLabel->setText(tm.setNum(m_doc->Items->indexOf(m_item) + 1));
 }
 
 void PropertiesPalette_XYZ::handleBasePoint(int m)




More information about the scribus-commit mailing list