summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMakeCacheView.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2008-02-08 15:42:14 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2008-02-08 15:42:14 (GMT)
commit45cf2ade08351ccbc880856ba7774da52db06f0b (patch)
tree858fec6cbf426e7a9f98eeaa4b5ca542cb58319c /Source/QtDialog/QCMakeCacheView.cxx
parenta71d56096cb2690514712c8b8cd843d10fba8e31 (diff)
downloadCMake-45cf2ade08351ccbc880856ba7774da52db06f0b.zip
CMake-45cf2ade08351ccbc880856ba7774da52db06f0b.tar.gz
CMake-45cf2ade08351ccbc880856ba7774da52db06f0b.tar.bz2
COMP: Fix build with Qt 4.2.
BUG: Fix new editors stealing focus while typing search text. ENH: Look for translation in data dir, not bin dir.
Diffstat (limited to 'Source/QtDialog/QCMakeCacheView.cxx')
-rw-r--r--Source/QtDialog/QCMakeCacheView.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMakeCacheView.cxx b/Source/QtDialog/QCMakeCacheView.cxx
index 640a3e0..466006a 100644
--- a/Source/QtDialog/QCMakeCacheView.cxx
+++ b/Source/QtDialog/QCMakeCacheView.cxx
@@ -146,6 +146,7 @@ bool QCMakeCacheView::showAdvanced() const
void QCMakeCacheView::setSearchFilter(const QString& s)
{
+ this->selectionModel()->clear();
this->SearchFilter->setFilterFixedString(s);
}