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

List:       kde-commits
Subject:    extragear/office/kmymoney/kmymoney/widgets
From:       Cristian OneČ› <onet.cristian () gmail ! com>
Date:       2011-05-31 20:33:22
Message-ID: 20110531203322.3E1FCAC779 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1234362 by conet:

BUG: 262707
When returning from a window switch also don't select the edit text.

 M  +1 -1      kmymoneylineedit.cpp  


--- trunk/extragear/office/kmymoney/kmymoney/widgets/kmymoneylineedit.cpp #1234361:1234362
@@ -111,7 +111,7 @@
   // Delay that selection until the application is idle to prevent a
   // recursive loop which otherwise entered when the focus is set to this
   // widget using the mouse. (bko #259369)
-  if (ev->reason() != Qt::PopupFocusReason) {
+  if (ev->reason() != Qt::PopupFocusReason && ev->reason() != Qt::ActiveWindowFocusReason) {
     if (!d->skipSelectAll)
       QTimer::singleShot(0, this, SLOT(selectAll()));
     d->skipSelectAll = false;
[prev in list] [next in list] [prev in thread] [next in thread] 

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