r16275 by jghali - #9684: crash with access violation

scribus-commit scribus-commit at lists.scribus.net
Tue Jan 18 14:53:41 CET 2011


Author: jghali
Date: Tue Jan 18 13:53:41 2011
New Revision: 16275

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16275
Log:
#9684: crash with access violation
Properties palette was not correctly updated when switching masterpage

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

Modified: branches/Version135/Scribus/scribus/scribusview.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16275&path=/branches/Version135/Scribus/scribus/scribusview.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/scribusview.cpp (original)
+++ branches/Version135/Scribus/scribus/scribusview.cpp Tue Jan 18 13:53:41 2011
@@ -2893,7 +2893,8 @@
 
 void ScribusView::showMasterPage(int nr)
 {
-	Deselect(false);
+	// #9684 : we need Deselect() to emit HaveSel() when switching masterpage
+	Deselect(true);
 	OldScale = m_canvas->scale();
 	if (!Doc->masterPageMode())
 		this->requestMode(modeNormal);




More information about the scribus-commit mailing list