fix(settings): set iced window exit_on_close_request
This commit is contained in:
parent
9292004642
commit
a2e2711061
1 changed files with 1 additions and 0 deletions
|
|
@ -92,6 +92,7 @@ pub(crate) fn iced_settings<App: Application>(
|
|||
iced.default_font = settings.default_font;
|
||||
iced.default_text_size = iced::Pixels(settings.default_text_size);
|
||||
iced.exit_on_close_request = settings.exit_on_close;
|
||||
iced.window.exit_on_close_request = settings.exit_on_close;
|
||||
iced.id = Some(App::APP_ID.to_owned());
|
||||
#[cfg(all(not(feature = "wayland"), target_os = "linux"))]
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue