[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/plugins/defaultTools/defaulttool
From: Jan Hambrecht <jaham () gmx ! net>
Date: 2009-06-20 20:49:02
Message-ID: 1245530942.565070.15940.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 984494 by jaham:
do not apply changed size when just clicking on aspect button
M +3 -1 DefaultToolWidget.cpp
--- trunk/koffice/plugins/defaultTools/defaulttool/DefaultToolWidget.cpp #984493:984494
@@ -157,6 +157,9 @@
void DefaultToolWidget::sizeHasChanged()
{
+ if (aspectButton->hasFocus())
+ return;
+
QSizeF newSize( widthSpinBox->value(), heightSpinBox->value() );
KoSelection *selection = m_tool->canvas()->shapeManager()->selection();
@@ -226,7 +229,6 @@
void DefaultToolWidget::setUnit( const KoUnit &unit )
{
- // TODO find a way to get notified whenever the unit changes
positionXSpinBox->setUnit( unit );
positionYSpinBox->setUnit( unit );
widthSpinBox->setUnit( unit );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic