Unwatch manual variables upon removal in ccmake
This commit is contained in:
parent
8354413463
commit
393903218d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue