Bug 104475 - "Enter" does not close Icon Selector
Summary: "Enter" does not close Icon Selector
Status: RESOLVED FIXED
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (show other bugs)
Version: 0.7
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-24 16:49 UTC by Becheru Petru-Ioan
Modified: 2005-04-24 17:27 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 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);