fix: properly close the calibration window when pressing the final button

This commit is contained in:
Gabriele Musco 2023-06-17 10:40:51 +02:00
parent 0144f90081
commit a0acc92058
No known key found for this signature in database
GPG key ID: 1068D795C80E51DE

View file

@ -313,8 +313,7 @@ impl SimpleComponent for LibsurviveSetupWindow {
add_css_class: "suggested-action",
set_label: "I Understand",
connect_clicked[win] => move |_| {
win.emit_by_name::<gboolean>("close-request", &[]);
// win.close();
win.close();
},
}
}