Skip to content

Commit 825ea04

Browse files
committed
Only show details context drawer by default in open dialog
1 parent 55724cb commit 825ea04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dialog.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,8 @@ impl Application for App {
737737
core.window.show_close = false;
738738
core.window.show_maximize = false;
739739
core.window.show_minimize = false;
740-
core.window.show_context = true;
740+
// Only show details context drawer by default in open dialog
741+
core.window.show_context = !flags.kind.save();
741742

742743
let title = flags.kind.title();
743744
let accept_label = flags.kind.accept_label();

0 commit comments

Comments
 (0)