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

List:       kde-commits
Subject:    kdebase/kdesktop
From:       Dawit Alemayehu <adawit () kde ! org>
Date:       2005-03-06 15:54:31
Message-ID: 20050306155431.C2871E772 () office ! kde ! org
[Download RAW message or body]

CVS commit by adawit: 

- Do not execute when selecting an item from either the text completion box 
  or the combobox's dropdown list box. 

  Needs update of kdelibs/kdeui to work.

BUG:100733


  M +6 -2      minicli.cpp   1.191


--- kdebase/kdesktop/minicli.cpp  #1.190:1.191
@@ -64,4 +64,5 @@
 #include <kmimetype.h>
 #include <kurifilter.h>
+#include <kcompletionbox.h>
 
 #include "minicli.moc"
@@ -130,6 +131,4 @@ Minicli::Minicli( QWidget *parent, const
   connect( m_dlg->cbCommand, SIGNAL( textChanged( const QString& ) ),
            SLOT( slotCmdChanged(const QString&) ) );
-  connect( m_dlg->cbCommand, SIGNAL( activated( const QString& ) ),
-           m_dlg->pbRun, SLOT( animateClick() ) );
 
   // Advanced group box...
@@ -213,4 +212,8 @@ void Minicli::loadConfig()
   m_dlg->cbCommand->setCompletionMode( (KGlobalSettings::Completion) mode );
 
+  KCompletionBox* box = m_dlg->cbCommand->completionBox();
+  if (box)
+    box->setActivateOnSelect( false );
+
   m_finalFilters = KURIFilter::self()->pluginNames();
   m_finalFilters.remove("kuriikwsfilter");


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

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