Skip to content

Commit

Permalink
Put the command in commands list.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Nov 9, 2016
1 parent fdac34c commit 1d320bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OMEdit/OMEditGUI/OMC/OMCProxy.cpp
Expand Up @@ -323,6 +323,8 @@ void OMCProxy::logCommand(QString command, QTime *commandTime)
QTextCharFormat format;
format.setFont(font);
Utilities::insertText(mpOMCLoggerTextBox, command + "\n", format);
// add the expression to commands list
mCommandsList.append(command);
// set the current command index.
mCurrentCommandIndex = mCommandsList.count();
mpExpressionTextBox->setText("");
Expand Down

0 comments on commit 1d320bd

Please sign in to comment.