Code

patch from bug 1495755
authorbuliabyak <buliabyak@users.sourceforge.net>
Sat, 27 May 2006 03:47:37 +0000 (03:47 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Sat, 27 May 2006 03:47:37 +0000 (03:47 +0000)
src/dialogs/tiledialog.cpp

index 4b84078e5b4ccc8a48a8bfe39a06caa7e42b7805..72b1cdaa8dadbb4329d711b025fad3a512f59f5b 100644 (file)
@@ -123,6 +123,9 @@ void TileDialog::Grid_Arrange ()
     total_col_width=0;
     total_row_height=0;
 
+    // check for correct numbers in the row- and col-spinners
+    on_col_spinbutton_changed();
+    on_row_spinbutton_changed();
 
     // set padding to manual values
     paddingx = XPadSpinner.get_value();