From d40324821fd9cd35b6867988b757fd6d8115cc51 Mon Sep 17 00:00:00 2001 From: Derek Christ Date: Wed, 8 Sep 2021 12:30:29 +0200 Subject: [PATCH] Fix a bug in comment editing. --- DRAMSys/traceAnalyzer/presentation/tracenavigator.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/DRAMSys/traceAnalyzer/presentation/tracenavigator.cpp b/DRAMSys/traceAnalyzer/presentation/tracenavigator.cpp index 0758cd01..89448111 100644 --- a/DRAMSys/traceAnalyzer/presentation/tracenavigator.cpp +++ b/DRAMSys/traceAnalyzer/presentation/tracenavigator.cpp @@ -108,7 +108,6 @@ void TraceNavigator::editCommentAtTime(traceTime time) auto found = comments.find(time); if (found != comments.end()) { - comments.erase(found); auto comment = found->second; bool ok;