2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 01:07:43 +00:00

Minor GUI logic adjustments

This commit is contained in:
Jack Andersen
2018-01-09 21:39:48 -10:00
parent 69490b1ec2
commit 60c6a6bf2b
2 changed files with 7 additions and 2 deletions

View File

@@ -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"),