Only show details context drawer by default in open dialog

This commit is contained in:
Jeremy Soller 2024-10-15 10:46:26 -06:00
parent 55724cb488
commit 825ea04d54
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -737,7 +737,8 @@ impl Application for App {
core.window.show_close = false;
core.window.show_maximize = false;
core.window.show_minimize = false;
core.window.show_context = true;
// Only show details context drawer by default in open dialog
core.window.show_context = !flags.kind.save();
let title = flags.kind.title();
let accept_label = flags.kind.accept_label();