1
Fork 0

Make DBus desktop portal start automatically

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-03-28 14:13:29 +01:00
parent a82af5aff8
commit 05cac6e738
No known key found for this signature in database
GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 3 additions and 1 deletions

2
dpf

@ -1 +1 @@
Subproject commit f26b8147d309f8b3cdcaa6b3e6d8dac773658009
Subproject commit 2e224d4a7fda99a705879648a3b335f6c12b131f

View File

@ -131,6 +131,7 @@ void loadDialog()
FileBrowserOptions opts;
opts.startDir = dir.c_str();
opts.saving = ui->saving = false;
opts.title = "Open patch";
ui->openFileBrowser(opts);
});
#endif
@ -227,6 +228,7 @@ static void saveAsDialog(const bool uncompressed)
FileBrowserOptions opts;
opts.startDir = dir.c_str();
opts.saving = ui->saving = true;
opts.title = "Save patch";
ui->savingUncompressed = uncompressed;
ui->openFileBrowser(opts);
}