Browse Source

Unwatch manual variables upon removal in ccmake

Ben Boeckel 15 years ago
parent
commit
393903218d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/CursesDialog/cmCursesMainForm.cxx

+ 1 - 0
Source/CursesDialog/cmCursesMainForm.cxx

@@ -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;
       }
       }