Browse Source

BUG: Make sure editor closes when deleting cache entries.

Clinton Stimpson 17 years ago
parent
commit
11102a377c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/QtDialog/CMakeSetupDialog.cxx

+ 1 - 0
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());