fix restore backup option
This commit is contained in:
parent
4fea3fd8f2
commit
f80e070178
|
@ -524,6 +524,11 @@ void FurnaceGUI::drawMobileControls() {
|
||||||
openFileDialog(GUI_FILE_EXPORT_CMDSTREAM);
|
openFileDialog(GUI_FILE_EXPORT_CMDSTREAM);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ImGui::Button("Restore Backup")) {
|
||||||
|
mobileMenuOpen=false;
|
||||||
|
doAction(GUI_ACTION_OPEN_BACKUP);
|
||||||
|
}
|
||||||
|
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
|
|
||||||
if (ImGui::BeginTabBar("MobileSong")) {
|
if (ImGui::BeginTabBar("MobileSong")) {
|
||||||
|
|
|
@ -1483,7 +1483,7 @@ void FurnaceGUI::openFileDialog(FurnaceGUIFileDialogs type) {
|
||||||
"Restore Backup",
|
"Restore Backup",
|
||||||
{"Furnace song", "*.fur"},
|
{"Furnace song", "*.fur"},
|
||||||
"Furnace song{.fur}",
|
"Furnace song{.fur}",
|
||||||
backupPath,
|
backupPath+String(DIR_SEPARATOR_STR),
|
||||||
dpiScale
|
dpiScale
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue