r20488 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Thu Oct 22 22:15:23 UTC 2015
Author: jghali
Date: Thu Oct 22 22:15:23 2015
New Revision: 20488
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20488
Log:
#12551: Delete Reference to Item crashes Scribus <anood>
Modified:
trunk/Scribus/scribus/pageitem_textframe.cpp
Modified: trunk/Scribus/scribus/pageitem_textframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20488&path=/trunk/Scribus/scribus/pageitem_textframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_textframe.cpp (original)
+++ trunk/Scribus/scribus/pageitem_textframe.cpp Thu Oct 22 22:15:23 2015
@@ -56,6 +56,7 @@
#include "scribusstructs.h"
#include "selection.h"
#include "ui/guidemanager.h"
+#include "ui/marksmanager.h"
#include "undomanager.h"
#include "undostate.h"
#include "util.h"
@@ -6050,6 +6051,12 @@
}
mrk = selectedMark(true);
}
+ if (num > 0)
+ {
+ m_Doc->changed();
+ m_Doc->regionsChanged()->update(QRectF());
+ m_Doc->scMW()->marksManager->updateListView();
+ }
return num;
}
More information about the scribus-commit
mailing list