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

scribus-commit scribus-commit at lists.scribus.net
Wed Jan 29 22:04:48 UTC 2014


Author: jghali
Date: Wed Jan 29 22:04:47 2014
New Revision: 18788

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

Modified:
    trunk/Scribus/scribus/scpage.cpp

Modified: trunk/Scribus/scribus/scpage.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18788&path=/trunk/Scribus/scribus/scpage.cpp
==============================================================================
--- trunk/Scribus/scribus/scpage.cpp (original)
+++ trunk/Scribus/scribus/scpage.cpp Wed Jan 29 22:04:47 2014
@@ -345,9 +345,9 @@
 			m_Doc->view()->Deselect(true);
 		m_Doc->Items->append(ite);
 		ite->OwnPage = m_Doc->OnPage(ite);
-		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