GH-899 fix add mod button not opening the central mods folder

This commit is contained in:
Petr Mrázek 2015-05-04 22:17:05 +02:00
parent c10a4a54d9
commit c09dc85090

View File

@ -122,7 +122,7 @@ bool ModFolderPage::eventFilter(QObject *obj, QEvent *ev)
void ModFolderPage::on_addModBtn_clicked()
{
QStringList fileNames = QFileDialog::getOpenFileNames(
this, QApplication::translate("ModFolderPage", "Select Loader Mods"));
this, QApplication::translate("ModFolderPage", "Select Loader Mods"), MMC->settings()->get("CentralModsDir").toString());
for (auto filename : fileNames)
{
m_mods->stopWatching();