From 7425d658327ff00c5aa4413151a34d4fd341afa6 Mon Sep 17 00:00:00 2001 From: Tats Date: Tue, 18 Mar 2014 23:02:10 -0400 Subject: [PATCH] Methods removeCurrent*() reset uids to NULL_UID. --- MainWindow.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MainWindow.h b/MainWindow.h index bf12b7c..e9e28ff 100644 --- a/MainWindow.h +++ b/MainWindow.h @@ -296,9 +296,11 @@ public: } void removeCurrentPaint() { _hasCurrentPaint = false; + currentPaintId = NULL_UID; } void removeCurrentMapping() { _hasCurrentMapping = false; + currentMappingId = NULL_UID; } public: