mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-21 23:00:50 +08:00
Unwatch manual variables upon removal in ccmake
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user