From 11102a377cba33f5b4962823fc5bbc42f554a925 Mon Sep 17 00:00:00 2001 From: Clinton Stimpson Date: Fri, 8 Feb 2008 13:47:08 -0500 Subject: BUG: Make sure editor closes when deleting cache entries. --- Source/QtDialog/CMakeSetupDialog.cxx | 1 + 1 file changed, 1 insertion(+) 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()); -- cgit v0.12