Merge branch 'dialog-enchance' into 'master'
Avoid un-closable AboutDialog See merge request World/hammond!37
This commit is contained in:
commit
64099e37e5
@ -36,5 +36,7 @@ pub fn about_dialog(window: >k::Window) {
|
|||||||
dialog.set_artists(&["Tobias Bernard"]);
|
dialog.set_artists(&["Tobias Bernard"]);
|
||||||
dialog.set_authors(authors);
|
dialog.set_authors(authors);
|
||||||
|
|
||||||
|
dialog.connect_response(|dlg, _| dlg.destroy());
|
||||||
|
|
||||||
dialog.show();
|
dialog.show();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user