summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2008-02-08 13:47:08 -0500
committerClinton Stimpson <clinton@elemtech.com>2008-02-08 13:47:08 -0500
commit11102a377cba33f5b4962823fc5bbc42f554a925 (patch)
treea8740dad266debac28c5eca37383f456706a7a76 /Source
parenta8c424491658bc9cb6c381bdee8f8b67bc56f5ac (diff)
downloadcmake-11102a377cba33f5b4962823fc5bbc42f554a925.tar.gz
BUG: Make sure editor closes when deleting cache entries.
Diffstat (limited to 'Source')
-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 bd696c8852..e646feb01d 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());