fix restore backup option

This commit is contained in:
tildearrow 2023-04-06 15:51:12 -05:00
parent 4fea3fd8f2
commit f80e070178
2 changed files with 6 additions and 1 deletions

View file

@ -524,6 +524,11 @@ void FurnaceGUI::drawMobileControls() {
openFileDialog(GUI_FILE_EXPORT_CMDSTREAM);
}
if (ImGui::Button("Restore Backup")) {
mobileMenuOpen=false;
doAction(GUI_ACTION_OPEN_BACKUP);
}
ImGui::Separator();
if (ImGui::BeginTabBar("MobileSong")) {

View file

@ -1483,7 +1483,7 @@ void FurnaceGUI::openFileDialog(FurnaceGUIFileDialogs type) {
"Restore Backup",
{"Furnace song", "*.fur"},
"Furnace song{.fur}",
backupPath,
backupPath+String(DIR_SEPARATOR_STR),
dpiScale
);
break;