r19909 by craig - #12309: Don't allow moving the last page to the end

scribus-commit scribus-commit at lists.scribus.net
Wed Mar 11 19:28:59 UTC 2015


Author: craig
Date: Wed Mar 11 19:28:59 2015
New Revision: 19909

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19909
Log:
#12309: Don't allow moving the last page to the end

Modified:
    branches/Version14x/Scribus/scribus/pagepalette.cpp

Modified: branches/Version14x/Scribus/scribus/pagepalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19909&path=/branches/Version14x/Scribus/scribus/pagepalette.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/pagepalette.cpp (original)
+++ branches/Version14x/Scribus/scribus/pagepalette.cpp Wed Mar 11 19:28:59 2015
@@ -665,7 +665,7 @@
 
 void PagePalette::pageView_movePage(int r, int c)
 {
-	if (r == c)
+	if (r == c || r == pageView->MaxC)
 		return;
 	if (c > pageView->MaxC)
 		currView->Doc->movePage(r, r + 1, c, 2);




More information about the scribus-commit mailing list