Hard disk dialog improvements

* Fix file field widget
* Hard disk dialog is now identical to Win32
This commit is contained in:
Cacodemon345
2022-02-06 00:37:24 +06:00
parent 6ffa0a9640
commit a570f01d97
5 changed files with 176 additions and 138 deletions

View File

@@ -9,7 +9,10 @@ FileField::FileField(QWidget *parent) :
{
ui->setupUi(this);
connect(ui->label, &QLineEdit::editingFinished, this, [this] () { emit fileSelected(ui->label->text()); });
connect(ui->label, &QLineEdit::editingFinished, this, [this] () {
fileName_ = ui->label->text();
emit fileSelected(ui->label->text());
});
}
FileField::~FileField()