Commit 67fa309a authored by Sophie Herold's avatar Sophie Herold
Browse files

window: Use present insead of show

parent f206189b
Pipeline #325226 failed with stage
in 9 minutes and 49 seconds
......@@ -39,7 +39,7 @@ pub fn show() {
debug!("Displaying ui that was hidden before.");
gtk_app().add_window(&main_ui().window());
main_ui().window().show();
main_ui().window().present();
if !is_initialized() {
Handler::run(ui::init_check_borg());
......
......@@ -79,7 +79,7 @@ pub fn new_backup() {
}));
});
ui.dialog().show();
ui.dialog().present();
}
fn on_path_change(ui: &builder::DialogAddConfig) {
......
......@@ -64,7 +64,7 @@ async fn on_add_repo_list_activated_local(ui: Rc<builder::DialogAddConfig>) -> R
.into());
}
} else {
ui.dialog().show();
ui.dialog().present();
}
Ok(())
......
......@@ -32,7 +32,7 @@ impl Ask {
let ui = ui::builder::DialogEncryptionPassword::new();
ui.dialog().set_transient_for(Some(&main_ui().window()));
ui.dialog().show();
ui.dialog().present();
if !self.pre_select_store {
ui.password_forget().set_active(true);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment