Commit 03bdcc89 authored by Bilal Elmoussaoui's avatar Bilal Elmoussaoui

create win on activate

fixes #63
parent ec13f94f
......@@ -90,6 +90,7 @@ impl Application {
fn setup_signals(&self, app: Rc<Self>) {
self.app.connect_activate(clone!(@weak app => move |_| {
app.create_window();
app.get_window().widget.present();
}));
......@@ -98,7 +99,6 @@ impl Application {
}));
self.app.connect_startup(clone!(@weak app => move |_| {
app.create_window();
app.setup_gactions(app.clone());
}));
......
Markdown is supported
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