From f61bd5f42aaba4dbb79aeee58d2024f7b4d2c39e Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 18 Mar 2016 12:27:20 +0200 Subject: [PATCH] Skip history for Detail's mode tools. --HG-- branch : feature --- src/app/valentina/dialogs/dialoghistory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/valentina/dialogs/dialoghistory.cpp b/src/app/valentina/dialogs/dialoghistory.cpp index 006b82bc4..5c5c462de 100644 --- a/src/app/valentina/dialogs/dialoghistory.cpp +++ b/src/app/valentina/dialogs/dialoghistory.cpp @@ -163,7 +163,7 @@ void DialogHistory::FillTable() { const VToolRecord tool = history.at(i); const QString historyRecord = Record(tool); - if (historyRecord.isEmpty() ==false) + if (not historyRecord.isEmpty()) { currentRow++; @@ -383,7 +383,7 @@ QString DialogHistory::Record(const VToolRecord &tool) case Tool::NodePoint: case Tool::NodeSpline: case Tool::NodeSplinePath: - break; + return QString(); } } catch (const VExceptionBadId &e)