Avoid un-closable AboutDialog
This commit is contained in:
parent
14d72b92cb
commit
2fe612d392
@ -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