summaryrefslogtreecommitdiffstats
path: root/scribus/pagepalette.cpp
diff options
context:
space:
mode:
authorcraig <craig@11d20701-8431-0410-a711-e3c959e3b870>2012-01-18 21:40:59 +0000
committercraig <craig@11d20701-8431-0410-a711-e3c959e3b870>2012-01-18 21:40:59 +0000
commit88de2d21f5857354baf6efd80c4103e896d53cbe (patch)
tree39ea45e38b6529219ed6d7bfa9e35f134ee14f74 /scribus/pagepalette.cpp
parentee0934d391fd8bce3702706d8d46deeed48e795f (diff)
downloadscribus-88de2d21f5857354baf6efd80c4103e896d53cbe.tar.gz
scribus-88de2d21f5857354baf6efd80c4103e896d53cbe.tar.xz
scribus-88de2d21f5857354baf6efd80c4103e896d53cbe.zip
#4828: Allow undo/redo of moving pages
git-svn-id: svn://scribus.net/branches/Version14x/Scribus@17212 11d20701-8431-0410-a711-e3c959e3b870
Diffstat (limited to 'scribus/pagepalette.cpp')
-rw-r--r--scribus/pagepalette.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scribus/pagepalette.cpp b/scribus/pagepalette.cpp
index 001e2ce..163673e 100644
--- a/scribus/pagepalette.cpp
+++ b/scribus/pagepalette.cpp
@@ -620,8 +620,8 @@ PagePalette::PagePalette(QWidget* parent) : ScrPaletteBase( parent, "SP", false,
connect(this, SIGNAL(EditTemp(QString)), m_scMW, SLOT(manageMasterPages(QString)));
connect(pageView, SIGNAL(UseTemp(QString, int)), m_scMW, SLOT(Apply_MasterPage(QString, int)));
connect(pageView, SIGNAL(NewPage(int, QString)), m_scMW, SLOT(slotNewPageP(int, QString)));
- connect(Trash, SIGNAL(DelPage(int)), m_scMW, SLOT(DeletePage2(int)));
- connect(pageView, SIGNAL(DelPage(int)), m_scMW, SLOT(DeletePage2(int)));
+ connect(Trash, SIGNAL(DelPage(int)), m_scMW, SLOT(deletePage2(int)));
+ connect(pageView, SIGNAL(DelPage(int)), m_scMW, SLOT(deletePage2(int)));
connect(this, SIGNAL(gotoPage(int)), m_scMW, SLOT(selectPagesFromOutlines(int)));
}
@@ -647,7 +647,7 @@ void PagePalette::deleteMasterPage(QString tmp)
int storedViewYCoor = currView->verticalScrollBar()->value();
currView->Doc->setMasterPageMode(true);
- currView->Doc->scMW()->DeletePage2(currView->Doc->MasterNames[tmp]);
+ currView->Doc->scMW()->deletePage2(currView->Doc->MasterNames[tmp]);
//<<CB TODO Move back into ScribusDoc::deleteMasterPage();
//This must happen after the pages have been reformed (view/doc)
currView->Doc->rebuildMasterNames();