Skip to content

Commit

Permalink
Merge pull request #131 from saturneric/dev/2.1.1/main
Browse files Browse the repository at this point in the history
Develop 2.1.2.6
  • Loading branch information
saturneric authored Feb 1, 2024
2 parents 264eff9 + 0e1f354 commit f00c172
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ui/main_window/MainWindowFileSlotFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ void MainWindow::SlotFileVerify(const QString& path) {
if (prossible_singleton_target) {
swap(data_file_path, sign_file_path);
} else {
data_file_path = file_info.path() + "/" + file_info.baseName();
data_file_path = file_info.path() + "/" + file_info.completeBaseName();
}

auto data_file_info = QFileInfo(data_file_path);
Expand All @@ -480,7 +480,8 @@ void MainWindow::SlotFileVerify(const QString& path) {

if (!ok) return;

data_file_path = text.isEmpty() ? path : text;
data_file_path = text.isEmpty() ? data_file_path : text;
data_file_info = QFileInfo(data_file_path);
}

if (!data_file_info.isFile() ||
Expand Down

0 comments on commit f00c172

Please sign in to comment.