Application.Client: Prevent app modal dialogs blocking inspector windows
Fixes #932
This commit is contained in:
parent
b8ed6ed230
commit
20c4402bef
1 changed files with 6 additions and 0 deletions
|
|
@ -712,6 +712,12 @@ public class Application.Client : Gtk.Application {
|
|||
this.inspector.destroy.connect(() => {
|
||||
this.inspector = null;
|
||||
});
|
||||
|
||||
// Create a new window group for the inspector so it is
|
||||
// not affected by the app's modal dialogs
|
||||
var group = new Gtk.WindowGroup();
|
||||
group.add_window(this.inspector);
|
||||
|
||||
this.inspector.show();
|
||||
} else {
|
||||
this.inspector.present();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue