summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2011-01-13 22:58:23 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2011-01-13 22:58:23 (GMT)
commit393903218dc5ca67d23cc5d31f9a5c87cd06ca17 (patch)
treee5396ef14e640fca9fee5a05d76fb9b6cd6c6c6d /Source/CursesDialog
parent8354413463fd4b13185388f57dc1b2f5cfd8298d (diff)
downloadCMake-393903218dc5ca67d23cc5d31f9a5c87cd06ca17.zip
CMake-393903218dc5ca67d23cc5d31f9a5c87cd06ca17.tar.gz
CMake-393903218dc5ca67d23cc5d31f9a5c87cd06ca17.tar.bz2
Unwatch manual variables upon removal in ccmake
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx1
1 files changed, 1 insertions, 0 deletions
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;
}