summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2011-01-13 22:59:04 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2011-01-13 22:59:04 (GMT)
commit949d32c3067830a1376950fc78dbcde39bc378a8 (patch)
treea8d73d167326d4990354be5fa8fa2576036a6cc9 /Source
parent393903218dc5ca67d23cc5d31f9a5c87cd06ca17 (diff)
downloadCMake-949d32c3067830a1376950fc78dbcde39bc378a8.zip
CMake-949d32c3067830a1376950fc78dbcde39bc378a8.tar.gz
CMake-949d32c3067830a1376950fc78dbcde39bc378a8.tar.bz2
Unwatch manual variables upon removal in cmake-gui
Diffstat (limited to 'Source')
-rw-r--r--Source/QtDialog/QCMake.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx
index 182db0f..a40a175 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());
}