diff --git a/src/install_page.rs b/src/install_page.rs index 5fd70b5..93582f4 100644 --- a/src/install_page.rs +++ b/src/install_page.rs @@ -269,8 +269,8 @@ pub fn install_page(install_main_box: >k::Box ,content_stack: >k::Stack) { } })); - bottom_back_button.connect_clicked(clone!(@weak content_stack, @weak install_main_box => move |_| { + bottom_back_button.connect_clicked(clone!(@weak content_stack, @weak install_main_box, @weak install_nested_stack => move |_| { content_stack.set_visible_child_name("partitioning_page"); - content_stack.remove(&install_main_box); + install_main_box.remove(&install_nested_stack) })); } \ No newline at end of file