Bug 19311 - Go to Line control
Summary: Go to Line control
Status: RESOLVED FIXED
Alias: None
Product: kedit
Classification: Applications
Component: general (show other bugs)
Version: 1.3
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Bernd Wuebben
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-01-28 22:33 UTC by peter
Modified: 2003-04-20 23:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peter 2001-01-28 22:24:34 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: kedit
Version: 1.3 (KDE 2.1 Beta 2)
Severity: normal
Compiler: gcc version 2.95.3 19991030 (prerelease)
OS: Linux 2.2.17-21mdk-02 i686 (Mandrake_7_2)

When this control is selected the value should be highlighted so you can
type in a value overwriting the default "1".  You're not going to use the 
spinner for a line number 1500.
Comment 1 Waldo Bastian 2003-04-20 23:15:13 UTC
Subject: kdelibs/kdeui

CVS commit by waba: 

CCMAIL: 19311-done@bugs.kde.org
Give focus to spinbox in "go to line" dialog. (BR19311)


  M +4 -3      keditcl2.cpp   1.52


--- kdelibs/kdeui/keditcl2.cpp  #1.51:1.52
@@ -139,5 +139,5 @@ void KEdit::searchdone_slot(){
 
   srchdialog->hide();
-  this->setFocus();
+  setFocus();
   last_search = NONE;
 
@@ -233,5 +233,5 @@ bool KEdit::repeatSearch() {
   search_slot();
 
-  this->setFocus();
+  setFocus();
   return true;
 
@@ -493,5 +493,5 @@ void KEdit::replacedone_slot(){
   //  replace_dialog->clearFocus();
 
-  this->setFocus();
+  setFocus();
 
   last_replace = NONE;
@@ -982,4 +982,5 @@ KEdGotoLine::KEdGotoLine( QWidget *paren
 
   topLayout->addStretch(10);
+  lineNum->setFocus();
 }