r22419 by jghali -
scribus-commit
scribus-commit at lists.scribus.net
Wed Feb 28 10:14:50 UTC 2018
Author: jghali
Date: Wed Feb 28 10:14:49 2018
New Revision: 22419
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22419
Log:
#15176: undo for alt-arrows does x/y separately
Modified:
trunk/Scribus/scribus/pageitem_imageframe.cpp
Modified: trunk/Scribus/scribus/pageitem_imageframe.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22419&path=/trunk/Scribus/scribus/pageitem_imageframe.cpp
==============================================================================
--- trunk/Scribus/scribus/pageitem_imageframe.cpp (original)
+++ trunk/Scribus/scribus/pageitem_imageframe.cpp Wed Feb 28 10:14:49 2018
@@ -330,7 +330,7 @@
UndoTransaction transaction;
if (UndoManager::undoEnabled())
{
- if (fitImageToFrame() && (dX != 0.0 || dY != 0.0))
+ if ((fitImageToFrame() || !controlDown) && (dX != 0.0 || dY != 0.0))
transaction = undoManager->beginTransaction(getUName(), getUPixmap(), Um::ImageScale, "", Um::IMove);
}
if (dX != 0.0)
More information about the scribus-commit
mailing list