From 0fb1a57a97ba366c3b40ddfc1aaa3baac07bdd15 Mon Sep 17 00:00:00 2001 From: Nikolaj Schlej Date: Tue, 17 Feb 2015 18:56:11 +0100 Subject: [PATCH] UEFITool 0.20.3 - replace as is on regions works again --- uefitool.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uefitool.cpp b/uefitool.cpp index 67436c9..3aacd10 100644 --- a/uefitool.cpp +++ b/uefitool.cpp @@ -17,7 +17,7 @@ UEFITool::UEFITool(QWidget *parent) : QMainWindow(parent), ui(new Ui::UEFITool), -version(tr("0.20.2")) +version(tr("0.20.3")) { clipboard = QApplication::clipboard(); @@ -321,7 +321,7 @@ void UEFITool::replace(const UINT8 mode) else return; } - if (model->type(index) == Types::Volume) { + else if (model->type(index) == Types::Volume) { 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 (*)"); }