GH-1227: World import using drag and drop - zip files and folders
This commit is contained in:
parent
51070a13f7
commit
a1fd50e920
15 changed files with 345 additions and 121 deletions
|
@ -180,7 +180,7 @@ void VersionPage::on_jarmodBtn_clicked()
|
|||
nagShown = true;
|
||||
}
|
||||
}
|
||||
auto list = GuiUtil::BrowseForMods("jarmod", tr("Select jar mods"), tr("Minecraft.jar mods (*.zip *.jar)"), this->parentWidget());
|
||||
auto list = GuiUtil::BrowseForFiles("jarmod", tr("Select jar mods"), tr("Minecraft.jar mods (*.zip *.jar)"), MMC->settings()->get("CentralModsDir").toString(), this->parentWidget());
|
||||
if(!list.empty())
|
||||
{
|
||||
m_version->installJarMods(list);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue