diff options
Diffstat (limited to 'lumina-open/LFileDialog.cpp')
-rw-r--r-- | lumina-open/LFileDialog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lumina-open/LFileDialog.cpp b/lumina-open/LFileDialog.cpp index 4010dc74..673df3bd 100644 --- a/lumina-open/LFileDialog.cpp +++ b/lumina-open/LFileDialog.cpp @@ -141,7 +141,8 @@ void LFileDialog::updateUI(){ bool good = false; if(ui->radio_custom->isChecked()){ if(!ui->line_bin->text().isEmpty()){ - good = LUtils::isValidBinary(ui->line_bin->text()); + QString bin = ui->line_bin->text(); + good = LUtils::isValidBinary(bin); //Now verify that the file exists and is executable if( good ){ ui->label_goodbin->setPixmap(QPixmap(":/icons/good.png")); |