Skip to content
Snippets Groups Projects
Commit b03c3af4 authored by Savici, Andrei T.'s avatar Savici, Andrei T.
Browse files

Fix comment in history

parent 5fa751ee
No related branches found
No related tags found
No related merge requests found
...@@ -161,7 +161,7 @@ ScriptBuilder::buildCommentString(const AlgorithmHistory &algHistory) { ...@@ -161,7 +161,7 @@ ScriptBuilder::buildCommentString(const AlgorithmHistory &algHistory) {
if (name == COMMENT_ALG) { if (name == COMMENT_ALG) {
auto props = algHistory.getProperties(); auto props = algHistory.getProperties();
for (auto &prop : props) { for (auto &prop : props) {
if (prop->name() == "Note") { if (prop->name() == "Text") {
comment << "# " << prop->value(); comment << "# " << prop->value();
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment