mirror of
https://github.com/storytold/craft-libs.git
synced 2026-12-01 10:48:15 +01:00
Since #4278, an extra button passed to `FormDialog::extra_buttons` or `ParamDialog::extra_buttons` without `stays_open(true)` closed the dialog and accepted its values. Before, every extra button kept the dialog open and reported its id as an action, and apps that relied on that (a Copy button beside OK, Load and Save buttons, a Reset All button) now close their dialog and apply the values instead. Extra buttons keep the dialog open again. An `Alternative` extra without `stays_open(true)` still closes and accepts the values, with its id in `ParamResult::button`, as #4278 added.