r18072 by fschmid - Fixed Bug #11355: Disable scaling of tables when cursor is inside a table cell or fix the scaling
scribus-commit
scribus-commit at lists.scribus.net
Mon Jan 7 18:07:10 UTC 2013
Author: fschmid
Date: Mon Jan 7 18:07:10 2013
New Revision: 18072
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18072
Log:
Fixed Bug #11355: Disable scaling of tables when cursor is inside a table cell or fix the scaling
Modified:
trunk/Scribus/scribus/canvasgesture_tableresize.cpp
Modified: trunk/Scribus/scribus/canvasgesture_tableresize.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18072&path=/trunk/Scribus/scribus/canvasgesture_tableresize.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasgesture_tableresize.cpp (original)
+++ trunk/Scribus/scribus/canvasgesture_tableresize.cpp Mon Jan 7 18:07:10 2013
@@ -40,6 +40,9 @@
// Perform the actual resize of the table.
table()->resize(gridPoint.x(), gridPoint.y());
+ table()->doc()->dontResize = true;
+ table()->adjustFrameToTable();
+ table()->doc()->dontResize = false;
table()->update();
m_view->stopGesture();
More information about the scribus-commit
mailing list