summaryrefslogtreecommitdiffstats
path: root/scribus/picstatus.cpp
diff options
context:
space:
mode:
authorjghali <jghali@11d20701-8431-0410-a711-e3c959e3b870>2012-05-17 22:21:05 +0000
committerjghali <jghali@11d20701-8431-0410-a711-e3c959e3b870>2012-05-17 22:21:05 +0000
commit9c37236c6661aaa5e6470885037697edee7e11f3 (patch)
tree3fa972d53f4a05fbd2fcf871d548b9ca90df73b0 /scribus/picstatus.cpp
parent4e972b169a1c46478a79f96103d84bdf0e55f566 (diff)
downloadscribus-9c37236c6661aaa5e6470885037697edee7e11f3.tar.gz
scribus-9c37236c6661aaa5e6470885037697edee7e11f3.tar.xz
scribus-9c37236c6661aaa5e6470885037697edee7e11f3.zip
small change related to previous fix
git-svn-id: svn://scribus.net/branches/Version14x/Scribus@17511 11d20701-8431-0410-a711-e3c959e3b870
Diffstat (limited to 'scribus/picstatus.cpp')
-rw-r--r--scribus/picstatus.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scribus/picstatus.cpp b/scribus/picstatus.cpp
index 02e624a..3a62d95 100644
--- a/scribus/picstatus.cpp
+++ b/scribus/picstatus.cpp
@@ -377,7 +377,7 @@ void PicStatus::GotoPic()
{
if (currItem != NULL)
{
- if (currItem->OnMasterPage.isEmpty() && currItem->doc()->masterPageMode())
+ if (currItem->OnMasterPage.isEmpty() && m_Doc->masterPageMode())
ScCore->primaryMainWindow()->closeActiveWindowMasterPageEditor();
if (!currItem->OnMasterPage.isEmpty())
emit selectMasterPage(currItem->OnMasterPage);
@@ -391,9 +391,9 @@ void PicStatus::SelectPic()
if (currItem == NULL)
return;
- if (currItem->OnMasterPage.isEmpty() && currItem->doc()->masterPageMode())
+ if (currItem->OnMasterPage.isEmpty() && m_Doc->masterPageMode())
ScCore->primaryMainWindow()->closeActiveWindowMasterPageEditor();
- else if (!currItem->OnMasterPage.isEmpty() && !currItem->doc()->masterPageMode())
+ else if (!currItem->OnMasterPage.isEmpty() && !m_Doc->masterPageMode())
emit selectMasterPage(currItem->OnMasterPage);
if (currItem->Groups.count() == 0)