update form before present

This commit is contained in:
yggverse 2024-12-07 00:56:46 +02:00
parent 2901581060
commit 7c137b150e

View File

@ -103,6 +103,7 @@ impl Widget {
/// Show dialog with new preset /// Show dialog with new preset
pub fn present(&self, parent: Option<&impl IsA<gtk::Widget>>) { pub fn present(&self, parent: Option<&impl IsA<gtk::Widget>>) {
self.form.update();
self.alert_dialog.present(parent) self.alert_dialog.present(parent)
} }
} }