[qet] [1771] Fixed a bug in the dimension widget used in the title block editor.

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 1771
Author:   xavier
Date:     2012-05-09 04:31:40 +0200 (Wed, 09 May 2012)
Log Message:
-----------
Fixed a bug in the dimension widget used in the title block editor.

Modified Paths:
--------------
    trunk/sources/titleblock/dimensionwidget.cpp

Modified: trunk/sources/titleblock/dimensionwidget.cpp
===================================================================
--- trunk/sources/titleblock/dimensionwidget.cpp	2012-05-08 23:59:22 UTC (rev 1770)
+++ trunk/sources/titleblock/dimensionwidget.cpp	2012-05-09 02:31:40 UTC (rev 1771)
@@ -77,13 +77,13 @@
 	@param dim Dimension to be displayed and edited by this dialog
 */
 void TitleBlockDimensionWidget::setValue(const TitleBlockDimension &dim) {
-	spinbox_ -> setValue(dim.value);
 	if (complete_) {
 		if (QAbstractButton *button = dimension_type_ -> button(dim.type)) {
 			button -> setChecked(true);
 		}
 	}
 	updateSpinBoxSuffix();
+	spinbox_ -> setValue(dim.value);
 }
 
 /**


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/