Skip to content

Commit

Permalink
remove whitespace from start and end of command input
Browse files Browse the repository at this point in the history
  • Loading branch information
r-a-v-a-s committed Jun 18, 2015
1 parent 21d223d commit 52802e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions librecad/src/ui/forms/qg_commandwidget.cpp
Expand Up @@ -142,6 +142,7 @@ void QG_CommandWidget::appendHistory(const QString& msg) {

void QG_CommandWidget::trigger() {
QString cmd = leCommand->text();
cmd = cmd.simplified();
bool isAction=false;
if (cmd=="") {
cmd="\n";
Expand Down

0 comments on commit 52802e2

Please sign in to comment.