App: Only execute .show_all() at startup.
If you would had an instance running and activate the app again the UI would break visually in all kind of ways.
This commit is contained in:
parent
5a7ab9795d
commit
d43fc268f4
@ -305,9 +305,9 @@ impl App {
|
||||
info!("Init complete");
|
||||
application.connect_activate(clone!(app => move |_| {
|
||||
info!("GApplication::activate");
|
||||
app.window.show_all();
|
||||
app.window.activate();
|
||||
}));
|
||||
app.window.show_all();
|
||||
}));
|
||||
|
||||
// Weird magic I copy-pasted that sets the Application Name in the Shell.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user