[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeedu/kgeography/src
From:       Albert Astals Cid <tsdgeos () terra ! es>
Date:       2008-12-28 22:11:23
Message-ID: 1230502283.318549.31043.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 902663 by aacid:

set the focus on the spinbox so i can easily edit the number


 M  +2 -0      integerinputdialog.cpp  


--- trunk/KDE/kdeedu/kgeography/src/integerinputdialog.cpp #902662:902663
@@ -42,6 +42,8 @@
 	_spinBox->setValue(value);
 	connect(_spinBox, SIGNAL(valueChanged(int)), this, SLOT(spinboxValueChanged(int)));
 	hbox->addWidget(_spinBox);
+    
+	_spinBox->setFocus();
 }
 
 int IntegerInputDialog::value() const
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic