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

List:       kde-commits
Subject:    KDE/kdelibs/kate/view
From:       Christoph Cullmann <cullmann () kde ! org>
Date:       2010-07-08 18:51:27
Message-ID: 20100708185127.AC1A8AC8A8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1147575 by cullmann:

last commit borked, should been two, one of mwolff, one of dhaumann with scripts
dhaumann:
    fix hiding of command line view bar...


 M  +4 -1      kateviewhelpers.cpp  


--- trunk/KDE/kdelibs/kate/view/kateviewhelpers.cpp #1147574:1147575
@@ -501,7 +501,8 @@
           if (msg.length() > 0)
             setText (i18n ("Success: ") + msg);
           else
-            m_bar->hide(); // always hide on success without message
+            // always hide on success without message
+            emit hideRequested();
         }
         else
         {
@@ -536,8 +537,10 @@
     m_view->setFocus ();
   }
 
+  if (isVisible()) {
   m_hideTimer->start(4000);
 }
+}
 
 void KateCmdLineEdit::hideLineEdit () // unless i have focus ;)
 {
[prev in list] [next in list] [prev in thread] [next in thread] 

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