diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2008-02-08 13:47:08 -0500 |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2008-02-08 13:47:08 -0500 |
commit | 11102a377cba33f5b4962823fc5bbc42f554a925 (patch) | |
tree | a8740dad266debac28c5eca37383f456706a7a76 /Source | |
parent | a8c424491658bc9cb6c381bdee8f8b67bc56f5ac (diff) | |
download | cmake-11102a377cba33f5b4962823fc5bbc42f554a925.tar.gz |
BUG: Make sure editor closes when deleting cache entries.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/QtDialog/CMakeSetupDialog.cxx | 1 |
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()); |