Merge branch 'master' into feature/Moar-patch-bank-support-part3
This commit is contained in:
commit
ec80a2218c
7 changed files with 18 additions and 8 deletions
|
|
@ -1221,9 +1221,9 @@ void FurnaceGUI::openFileDialog(FurnaceGUIFileDialogs type) {
|
|||
if (!dirExists(workingDirSong)) workingDirSong=getHomeDir();
|
||||
hasOpened=fileDialog->openLoad(
|
||||
"Open File",
|
||||
{"compatible files", "*.fur *.dmf *.mod *.ftm",
|
||||
{"compatible files", "*.fur *.dmf *.mod",
|
||||
"all files", ".*"},
|
||||
"compatible files{.fur,.dmf,.mod,.ftm},.*",
|
||||
"compatible files{.fur,.dmf,.mod},.*",
|
||||
workingDirSong,
|
||||
dpiScale
|
||||
);
|
||||
|
|
@ -3566,7 +3566,7 @@ bool FurnaceGUI::loop() {
|
|||
// backup trigger
|
||||
if (modified) {
|
||||
if (backupTimer>0) {
|
||||
backupTimer-=ImGui::GetIO().DeltaTime;
|
||||
backupTimer=(backupTimer-ImGui::GetIO().DeltaTime);
|
||||
if (backupTimer<=0) {
|
||||
backupTask=std::async(std::launch::async,[this]() -> bool {
|
||||
if (backupPath==curFileName) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue