BUG: Make sure editor closes when deleting cache entries.

This commit is contained in:
Clinton Stimpson 2008-02-08 13:47:08 -05:00
parent a8c4244916
commit 11102a377c
1 changed files with 1 additions and 0 deletions

View File

@ -695,6 +695,7 @@ void CMakeSetupDialog::removeSelectedCacheEntries()
{
pidxs.append(i);
}
this->CacheValues->selectionModel()->clear();
foreach(QPersistentModelIndex pi, pidxs)
{
this->CacheValues->model()->removeRow(pi.row());