[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.2/kdebase/workspace/krunner/interfaces/quicksand
From: Ryan P. Bitanga <rjpbitanga () yahoo ! com>
Date: 2009-02-26 1:29:31
Message-ID: 1235611771.983362.23099.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 931944 by rbitanga:
Backport bugfix for #182865
M +6 -1 qs_matchview.cpp
--- branches/KDE/4.2/kdebase/workspace/krunner/interfaces/quicksand/qs_matchview.cpp #931943:931944
@@ -638,7 +638,12 @@
d->m_selectionMade = false;
}
}
- d->m_lineEdit->setText(d->m_searchTerm);
+ // If line edit has focus, not all keypresses make it to
+ // the parent widget, hence the internal search term is
+ // out of date
+ if (!d->m_lineEdit->hasFocus()) {
+ d->m_lineEdit->setText(d->m_searchTerm);
+ }
QWidget::keyPressEvent(e);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic