From 60c6a6bf2beea4bb9177a748254c43aef5bea198 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Tue, 9 Jan 2018 21:39:48 -1000 Subject: [PATCH] Minor GUI logic adjustments --- hecl-gui/MainWindow.cpp | 5 ++++- hecl-gui/platforms/mac/Info.plist | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/hecl-gui/MainWindow.cpp b/hecl-gui/MainWindow.cpp index 1517a0d8b..3e2a91eee 100644 --- a/hecl-gui/MainWindow.cpp +++ b/hecl-gui/MainWindow.cpp @@ -401,6 +401,7 @@ bool MainWindow::checkDownloadedBinary() m_urdePath = urdePath; m_heclPath = heclPath; + m_ui->downloadErrorLabel->setText({}, true); enableOperations(); return true; } @@ -418,7 +419,9 @@ bool MainWindow::checkDownloadedBinary() void MainWindow::setPath(const QString& path) { QFileInfo finfo(path); - QString usePath = finfo.absoluteFilePath(); + QString usePath; + if (!path.isEmpty()) + usePath = finfo.absoluteFilePath(); if (!usePath.isEmpty() && !finfo.exists()) { if (QMessageBox::question(this, QStringLiteral("Make Directory"), diff --git a/hecl-gui/platforms/mac/Info.plist b/hecl-gui/platforms/mac/Info.plist index ad91050fa..9ab977d99 100644 --- a/hecl-gui/platforms/mac/Info.plist +++ b/hecl-gui/platforms/mac/Info.plist @@ -3,9 +3,11 @@ CFBundleExecutable - HECL + hecl-gui CFBundleGetInfoString Version BETA + CFBundleShortVersionString + BETA NSHumanReadableCopyright 2015-2018 Antidote / Jackoalan CFBundleIconFile