r23982 by jghali - #13728 related: fix issue where applying bullets or numbered list would create spurious undo action
scribus-commit
scribus-commit at lists.scribus.net
Sun Aug 16 23:38:36 UTC 2020
Author: jghali
Date: Sun Aug 16 23:38:36 2020
New Revision: 23982
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23982
Log:
#13728 related: fix issue where applying bullets or numbered list would create spurious undo action
Modified:
trunk/Scribus/scribus/scribusdoc.cpp
Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23982&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Sun Aug 16 23:38:36 2020
@@ -9095,7 +9095,6 @@
int selectedItemCount = itemSelection->count();
if (selectedItemCount == 0)
return;
- itemSelection_ClearBulNumStrings(itemSelection);
UndoTransaction activeTransaction;
if (UndoManager::undoEnabled())
{
@@ -9104,6 +9103,7 @@
QPixmap* targetPixmap = (selectedItemCount > 1) ? Um::IGroup : currItem->getUPixmap();
activeTransaction = m_undoManager->beginTransaction(targetName, targetPixmap, Um::ApplyTextStyle, newStyle.displayName(), Um::IFont);
}
+ itemSelection_ClearBulNumStrings(itemSelection);
for (int i = 0; i < selectedItemCount; ++i)
{
PageItem *currItem = itemSelection->itemAt(i);
More information about the scribus-commit
mailing list