Skip history for Detail's mode tools.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-03-18 12:27:20 +02:00
parent 56496aaa59
commit f61bd5f42a

View File

@ -163,7 +163,7 @@ void DialogHistory::FillTable()
{ {
const VToolRecord tool = history.at(i); const VToolRecord tool = history.at(i);
const QString historyRecord = Record(tool); const QString historyRecord = Record(tool);
if (historyRecord.isEmpty() ==false) if (not historyRecord.isEmpty())
{ {
currentRow++; currentRow++;
@ -383,7 +383,7 @@ QString DialogHistory::Record(const VToolRecord &tool)
case Tool::NodePoint: case Tool::NodePoint:
case Tool::NodeSpline: case Tool::NodeSpline:
case Tool::NodeSplinePath: case Tool::NodeSplinePath:
break; return QString();
} }
} }
catch (const VExceptionBadId &e) catch (const VExceptionBadId &e)