diff options
author | John Thacker <johnthacker@gmail.com> | 2024-02-19 07:34:39 -0500 |
---|---|---|
committer | AndersBroman <a.broman58@gmail.com> | 2024-02-21 08:02:15 +0000 |
commit | fea3d36a7b72c968c6f7e07f30145b18db9f1315 (patch) | |
tree | 4c8197c253328f9d3cf7f9bb0740dc79d7e70ff0 /ui/qt/extcap_options_dialog.ui | |
parent | 942d7f4b4110b2c65227bdd2f9bee21183ba806c (diff) |
extcap: Allow starting from extcap config
Rework the changes from 428f2228533351baf6509b8fc50a075cdbc136b0
a little bit to restore the ability to start a capture from
the extcap options dialog.
When the the dialog is opened for configuration, present both the
Save and the Start button. Continue to only have Start when the
dialog was spawned because the user wanted to start a capture
but a mandatory parameter was not configured.
Use the default QDialogButtonBox "Discard/Close without Saving"
button when closing the dialog without saving the user input
for new preferences.
Fix #19199
Diffstat (limited to 'ui/qt/extcap_options_dialog.ui')
-rw-r--r-- | ui/qt/extcap_options_dialog.ui | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/extcap_options_dialog.ui b/ui/qt/extcap_options_dialog.ui index 337a0c9df9..1c6f0d7baf 100644 --- a/ui/qt/extcap_options_dialog.ui +++ b/ui/qt/extcap_options_dialog.ui @@ -40,7 +40,7 @@ <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="standardButtons"> - <set>QDialogButtonBox::Close|QDialogButtonBox::Help|QDialogButtonBox::Ok|QDialogButtonBox::RestoreDefaults</set> + <set>QDialogButtonBox::Discard|QDialogButtonBox::Help|QDialogButtonBox::Ok|QDialogButtonBox::Save|QDialogButtonBox::RestoreDefaults</set> </property> </widget> </item> |