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();
|
const char* val = (*it)->GetValue();
|
||||||
if ( val && !strcmp(value, val) )
|
if ( val && !strcmp(value, val) )
|
||||||
{
|
{
|
||||||
|
this->CMakeInstance->UnwatchUnusedCli(value);
|
||||||
this->Entries->erase(it);
|
this->Entries->erase(it);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue