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)