r16276 by jghali - #9684: crash with access violation
scribus-commit
scribus-commit at lists.scribus.net
Tue Jan 18 14:54:16 CET 2011
Author: jghali
Date: Tue Jan 18 13:54:16 2011
New Revision: 16276
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=16276
Log:
#9684: crash with access violation
Properties palette was not correctly updated when switching masterpage
Modified:
trunk/Scribus/scribus/scribusview.cpp
Modified: trunk/Scribus/scribus/scribusview.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=16276&path=/trunk/Scribus/scribus/scribusview.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusview.cpp (original)
+++ trunk/Scribus/scribus/scribusview.cpp Tue Jan 18 13:54:16 2011
@@ -2796,7 +2796,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