make initial update on widget construct

This commit is contained in:
yggverse 2024-12-08 04:47:17 +02:00
parent 75b2786375
commit 7061032778

View File

@ -86,6 +86,9 @@ impl Widget {
}
});
// Make initial update
widget_action.update.activate();
// Return new activated `Self`
Self {
// action,
@ -127,7 +130,6 @@ impl Widget {
/// Show dialog with new preset
pub fn present(&self, parent: Option<&impl IsA<gtk::Widget>>) {
self.form.update();
self.alert_dialog.present(parent)
}
}