From 393903218dc5ca67d23cc5d31f9a5c87cd06ca17 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 13 Jan 2011 17:58:23 -0500 Subject: Unwatch manual variables upon removal in ccmake --- Source/CursesDialog/cmCursesMainForm.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx index 7f3e360..71c06d5 100644 --- a/Source/CursesDialog/cmCursesMainForm.cxx +++ b/Source/CursesDialog/cmCursesMainForm.cxx @@ -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; } -- cgit v0.12