r18789 by jghali - #12019: Ghost entries in "Outline" Window

scribus-commit scribus-commit at lists.scribus.net
Wed Jan 29 22:36:56 UTC 2014


Author: jghali
Date: Wed Jan 29 22:36:56 2014
New Revision: 18789

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18789
Log:
#12019: Ghost entries in "Outline" Window

Modified:
    branches/Version14x/Scribus/scribus/page.cpp

Modified: branches/Version14x/Scribus/scribus/page.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18789&path=/branches/Version14x/Scribus/scribus/page.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/page.cpp (original)
+++ branches/Version14x/Scribus/scribus/page.cpp Wed Jan 29 22:36:56 2014
@@ -241,9 +241,9 @@
 			m_Doc->view()->Deselect(true);
 		m_Doc->Items->append(ite);
 		ite->ItemNr = m_Doc->Items->count()-1;
-		if ((stateCode == 0) || (stateCode == 2))
-			update();
-	}
+	}
+	if ((stateCode == 0) || (stateCode == 2))
+		update();
 	m_Doc->setMasterPageMode(oldMPMode);
 	m_Doc->m_Selection->delaySignalsOff();
 }




More information about the scribus-commit mailing list