From 949d32c3067830a1376950fc78dbcde39bc378a8 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 13 Jan 2011 17:59:04 -0500 Subject: [PATCH] Unwatch manual variables upon removal in cmake-gui --- Source/QtDialog/QCMake.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx index 182db0f87..a40a175f7 100644 --- a/Source/QtDialog/QCMake.cxx +++ b/Source/QtDialog/QCMake.cxx @@ -242,6 +242,8 @@ void QCMake::setProperties(const QCMakePropertyList& newProps) // remove some properites foreach(QString s, toremove) { + this->CMakeInstance->UnwatchUnusedCli(s.toAscii().data()); + cachem->RemoveCacheEntry(s.toAscii().data()); }