UEFITool 0.20.3

- replace as is on regions works again
This commit is contained in:
Nikolaj Schlej 2015-02-17 18:56:11 +01:00
parent 20d12b8f7c
commit 0fb1a57a97

View File

@ -17,7 +17,7 @@
UEFITool::UEFITool(QWidget *parent) : UEFITool::UEFITool(QWidget *parent) :
QMainWindow(parent), QMainWindow(parent),
ui(new Ui::UEFITool), ui(new Ui::UEFITool),
version(tr("0.20.2")) version(tr("0.20.3"))
{ {
clipboard = QApplication::clipboard(); clipboard = QApplication::clipboard();
@ -321,7 +321,7 @@ void UEFITool::replace(const UINT8 mode)
else else
return; return;
} }
if (model->type(index) == Types::Volume) { else if (model->type(index) == Types::Volume) {
if (mode == REPLACE_MODE_AS_IS) { if (mode == REPLACE_MODE_AS_IS) {
path = QFileDialog::getOpenFileName(this, tr("Select volume file to replace selected object"), currentDir, "Volume files (*.vol *.bin);;All files (*)"); path = QFileDialog::getOpenFileName(this, tr("Select volume file to replace selected object"), currentDir, "Volume files (*.vol *.bin);;All files (*)");
} }