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