r15093 by jghali - #9092 : switching master pages while "Edit content" tool is active makes frames unclickable
scribus-commit
scribus-commit at lists.scribus.net
Thu May 20 23:10:41 CEST 2010
Revision: 15093
Author: jghali
Date: 2010-05-20T21:00:26.499551Z
Commit message: #9092 : switching master pages while "Edit content" tool is active makes frames unclickable
Changeset:
M /trunk/Scribus/scribus/scribusview.cpp
Diffs:
Index: scribus/scribusview.cpp
===================================================================
--- scribus/scribusview.cpp (revision 15092)
+++ scribus/scribusview.cpp (revision 15093)
@@ -2844,6 +2844,8 @@
{
Deselect(false);
OldScale = m_canvas->scale();
+ if (!Doc->masterPageMode())
+ this->requestMode(modeNormal);
Doc->setMasterPageMode(true);
Doc->setCurrentPage(Doc->Pages->at(nr));
pageSelector->setEnabled(false);
@@ -2860,6 +2862,8 @@
void ScribusView::hideMasterPage()
{
Deselect(true);
+ if (Doc->masterPageMode())
+ this->requestMode(modeNormal);
Doc->setMasterPageMode(false);
// Doc->currentPage = Doc->Pages->at(0);
pageSelector->setEnabled(true);
More information about the scribus-commit
mailing list