#define VER_LAMEXP_MINOR_LO 4
#define VER_LAMEXP_TYPE Beta
#define VER_LAMEXP_PATCH 12
-#define VER_LAMEXP_BUILD 952
+#define VER_LAMEXP_BUILD 953
///////////////////////////////////////////////////////////////////////////////
// Tool versions (minimum expected versions!)
m_outputFolderNoteBox->hide();
}
+ outputFolderViewClicked(QModelIndex());
refreshFavorites();
//Setup "Meta Data" tab
outputFolderView->setCurrentIndex(index);
}
- if(m_fileSystemModel)
+ if(m_fileSystemModel && index.isValid())
{
QString selectedDir = m_fileSystemModel->filePath(index);
if(selectedDir.length() < 3) selectedDir.append(QDir::separator());
outputFolderLabel->setText(QDir::toNativeSeparators(selectedDir));
m_settings->outputDir(selectedDir);
}
+ else
+ {
+ outputFolderLabel->setText(QDir::toNativeSeparators(m_settings->outputDir()));
+ }
}
/*
g_lamexp_translation.names.insert(LAMEXP_DEFAULT_LANGID, "English");
//Check for process elevation
- if(!lamexp_check_elevation())
+ if((!lamexp_check_elevation()) && (!lamexp_detect_wine()))
{
if(QMessageBox::warning(NULL, "LameXP", "<nobr>LameXP was started with elevated rights. This is a potential security risk!</nobr>", "Quit Program (Recommended)", "Ignore") == 0)
{