r24331 by jghali - #11619: Column jump is recorded as document modification
scribus-commit
scribus-commit at lists.scribus.net
Fri Dec 18 01:00:15 UTC 2020
Author: jghali
Date: Fri Dec 18 01:00:15 2020
New Revision: 24331
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24331
Log:
#11619: Column jump is recorded as document modification
Modified:
trunk/Scribus/scribus/appmodehelper.cpp
Modified: trunk/Scribus/scribus/appmodehelper.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24331&path=/trunk/Scribus/scribus/appmodehelper.cpp
==============================================================================
--- trunk/Scribus/scribus/appmodehelper.cpp (original)
+++ trunk/Scribus/scribus/appmodehelper.cpp Fri Dec 18 01:00:15 2020
@@ -142,7 +142,8 @@
scmw->charPalette->setEnabled(false, nullptr);
if (currItem != nullptr)
{
- currItem->update();
+ currItem->layout();
+ doc->regionsChanged()->update(currItem->getVisualBoundingRect());
if (currItem->isTextFrame())
enableTextActions(false);
// scrMenuMgr->setMenuEnabled("Item", true);
@@ -836,7 +837,10 @@
{
PageItem* it = doc->m_Selection->itemAt(i);
if ((!it->isPolygon()) && (!it->isPolyLine()))
+ {
hPoly = false;
+ break;
+ }
}
(*a_scrActions)["itemCombinePolygons"]->setEnabled(hPoly);
More information about the scribus-commit
mailing list