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

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);
}