Bug 104475

Summary: "Enter" does not close Icon Selector
Product: [Applications] kmenuedit Reporter: Becheru Petru-Ioan <becheru.petru.ioan>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.7   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Becheru Petru-Ioan 2005-04-24 16:49:18 UTC
Version:           0.7 (using KDE 3.4.0, Debian Package 4:3.4.0-0pre4 (3.1))
Compiler:          gcc version 3.3.5 (Debian 1:3.3.5-8)
OS:                Linux (i686) release 2.6.11-1-k7

After opening Icon Selector and selecting an icon (with the mouse or kb) if I press "Enter" key nothing happens. It should have the same effect as pressing the "Ok" button.
Comment 1 Waldo Bastian 2005-04-24 17:27:19 UTC
CVS commit by waba: 

Pressing Enter selects icons.
BUG: 104475


  M +1 -0      kicondialog.cpp   1.48


--- kdelibs/kio/kfile/kicondialog.cpp  #1.47:1.48
@@ -312,4 +312,5 @@ void KIconDialog::init()
     mpCanvas = new KIconCanvas(main);
     connect(mpCanvas, SIGNAL(executed(QIconViewItem *)), SLOT(slotAcceptIcons()));
+    connect(mpCanvas, SIGNAL(returnPressed(QIconViewItem *)), SLOT(slotAcceptIcons()));
     mpCanvas->setMinimumSize(400, 125);
     top->addWidget(mpCanvas);