summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeSetupDialog.cxx
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2008-02-08 18:47:08 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2008-02-08 18:47:08 (GMT)
commit11102a377cba33f5b4962823fc5bbc42f554a925 (patch)
treea8740dad266debac28c5eca37383f456706a7a76 /Source/QtDialog/CMakeSetupDialog.cxx
parenta8c424491658bc9cb6c381bdee8f8b67bc56f5ac (diff)
downloadCMake-11102a377cba33f5b4962823fc5bbc42f554a925.zip
CMake-11102a377cba33f5b4962823fc5bbc42f554a925.tar.gz
CMake-11102a377cba33f5b4962823fc5bbc42f554a925.tar.bz2
BUG: Make sure editor closes when deleting cache entries.
Diffstat (limited to 'Source/QtDialog/CMakeSetupDialog.cxx')
-rw-r--r--Source/QtDialog/CMakeSetupDialog.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.cxx b/Source/QtDialog/CMakeSetupDialog.cxx
index bd696c8..e646feb 100644
--- a/Source/QtDialog/CMakeSetupDialog.cxx
+++ b/Source/QtDialog/CMakeSetupDialog.cxx
@@ -695,6 +695,7 @@ void CMakeSetupDialog::removeSelectedCacheEntries()
{
pidxs.append(i);
}
+ this->CacheValues->selectionModel()->clear();
foreach(QPersistentModelIndex pi, pidxs)
{
this->CacheValues->model()->removeRow(pi.row());