qt: Fixes to the process for selecting an existing hdd image

This commit is contained in:
cold-brewed
2023-02-05 12:12:37 -05:00
parent 64c6266404
commit c809f482d5
4 changed files with 43 additions and 39 deletions

View File

@@ -29,7 +29,7 @@ FileField::FileField(QWidget *parent)
connect(ui->label, &QLineEdit::editingFinished, this, [this]() {
fileName_ = ui->label->text();
emit fileSelected(ui->label->text());
emit fileSelected(ui->label->text(), true);
});
this->setFixedWidth(this->sizeHint().width() + ui->pushButton->sizeHint().width());
}