Unwatch manual variables upon removal in ccmake

This commit is contained in:
Ben Boeckel 2011-01-13 17:58:23 -05:00
parent 8354413463
commit 393903218d
1 changed files with 1 additions and 0 deletions

View File

@ -786,6 +786,7 @@ void cmCursesMainForm::RemoveEntry(const char* value)
const char* val = (*it)->GetValue();
if ( val && !strcmp(value, val) )
{
this->CMakeInstance->UnwatchUnusedCli(value);
this->Entries->erase(it);
break;
}