aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src-qt5/core-utils/lumina-config/ScriptDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/core-utils/lumina-config/ScriptDialog.cpp b/src-qt5/core-utils/lumina-config/ScriptDialog.cpp
index 3453486e..2980a3e9 100644
--- a/src-qt5/core-utils/lumina-config/ScriptDialog.cpp
+++ b/src-qt5/core-utils/lumina-config/ScriptDialog.cpp
@@ -83,7 +83,7 @@ void ScriptDialog::checkItems(bool firstrun){
if(name().isEmpty()){ good = false; ui->line_name->setStyleSheet("color: red;"); }
else{ ui->line_name->setStyleSheet(""); }
QString cmd = command().section(" ",0,0).simplified();
- if( !LUtils::isValidBinary(cmd) || cmd.isEmpty() ){ good = false; ui->line_exec->setStyleSheet("color: red;"); }
+ if( cmd.isEmpty() || !LUtils::isValidBinary(cmd) ){ good = false; ui->line_exec->setStyleSheet("color: red;"); }
else{ ui->line_exec->setStyleSheet(""); }
ui->pushApply->setEnabled(good);
bgstack15