We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee9c380 commit 7c6ba84Copy full SHA for 7c6ba84
src/window.rs
@@ -143,6 +143,8 @@ impl DistroShelfWindow {
143
if let Some(container) = root_store.selected_container() {
144
this_clone.build_main_content(&container);
145
this_clone.imp().split_view.set_show_content(true);
146
+ } else {
147
+ this_clone.imp().main_slot.set_child(None::<>k::Widget>);
148
}
149
});
150
let this_clone = this.clone();
@@ -533,6 +535,7 @@ impl DistroShelfWindow {
533
535
this,
534
536
move |dialog, _| {
537
this.root_store().selected_container().unwrap().delete();
538
+ this.root_store().set_selected_container(None::<Container>);
539
dialog.close();
540
541
),
0 commit comments