mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-08-11 06:59:06 +00:00
Minor GUI logic adjustments
This commit is contained in:
parent
69490b1ec2
commit
60c6a6bf2b
@ -401,6 +401,7 @@ bool MainWindow::checkDownloadedBinary()
|
|||||||
|
|
||||||
m_urdePath = urdePath;
|
m_urdePath = urdePath;
|
||||||
m_heclPath = heclPath;
|
m_heclPath = heclPath;
|
||||||
|
m_ui->downloadErrorLabel->setText({}, true);
|
||||||
enableOperations();
|
enableOperations();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -418,7 +419,9 @@ bool MainWindow::checkDownloadedBinary()
|
|||||||
void MainWindow::setPath(const QString& path)
|
void MainWindow::setPath(const QString& path)
|
||||||
{
|
{
|
||||||
QFileInfo finfo(path);
|
QFileInfo finfo(path);
|
||||||
QString usePath = finfo.absoluteFilePath();
|
QString usePath;
|
||||||
|
if (!path.isEmpty())
|
||||||
|
usePath = finfo.absoluteFilePath();
|
||||||
if (!usePath.isEmpty() && !finfo.exists())
|
if (!usePath.isEmpty() && !finfo.exists())
|
||||||
{
|
{
|
||||||
if (QMessageBox::question(this, QStringLiteral("Make Directory"),
|
if (QMessageBox::question(this, QStringLiteral("Make Directory"),
|
||||||
|
@ -3,9 +3,11 @@
|
|||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>HECL</string>
|
<string>hecl-gui</string>
|
||||||
<key>CFBundleGetInfoString</key>
|
<key>CFBundleGetInfoString</key>
|
||||||
<string>Version BETA</string>
|
<string>Version BETA</string>
|
||||||
|
<key>CFBundleShortVersionString</key>
|
||||||
|
<string>BETA</string>
|
||||||
<key>NSHumanReadableCopyright</key>
|
<key>NSHumanReadableCopyright</key>
|
||||||
<string>2015-2018 Antidote / Jackoalan</string>
|
<string>2015-2018 Antidote / Jackoalan</string>
|
||||||
<key>CFBundleIconFile</key>
|
<key>CFBundleIconFile</key>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user