r22679 by jghali - #15423: Wrong undo tooltip string for multiple copy by columns and rows
scribus-commit
scribus-commit at lists.scribus.net
Mon Sep 10 16:12:15 UTC 2018
Author: jghali
Date: Mon Sep 10 16:12:15 2018
New Revision: 22679
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22679
Log:
#15423: Wrong undo tooltip string for multiple copy by columns and rows
Modified:
trunk/Scribus/scribus/scribusdoc.cpp
Modified: trunk/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22679&path=/trunk/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusdoc.cpp (original)
+++ trunk/Scribus/scribus/scribusdoc.cpp Mon Sep 10 16:12:15 2018
@@ -13623,7 +13623,7 @@
int unitPrecision = unitGetPrecisionFromIndex(this->unitIndex());
QString hString = QString::number(mdData.gridGapH, 'f', unitPrecision) + " " + unitSuffix;
QString vString = QString::number(mdData.gridGapV, 'f', unitPrecision) + " " + unitSuffix;
- tooltip = tr("Number of copies: %1\nHorizontal gap: %2\nVertical gap: %3").arg(copyCount-1).arg(hString).arg(vString).arg(unitSuffix);
+ tooltip = tr("Number of rows: %1\nNumber of columns: %2\nHorizontal gap: %3\nVertical gap: %4").arg(mdData.gridRows).arg(mdData.gridCols).arg(hString).arg(vString).arg(unitSuffix);
}
if (activeTransaction)
{
More information about the scribus-commit
mailing list