diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2020-06-29 10:16:41 +0200 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2020-06-29 18:43:20 +0000 |
commit | 52512329c2046190251eecfd5270029f6c0c15ee (patch) | |
tree | 0251a99cd9a8187c2d70a67b1d94249fa4a5a002 /ui | |
parent | 09777ecc046b0e0aa3d6ab110dab6be5461ac0d7 (diff) |
Qt: Accept changes in Decode As when combo box has focus
Accept changes in the Decode As dialog on Save and Ok even when the
Field or Current combox box still has focus.
Change-Id: I9d6277ff57714679b574756cbc6d4c4dcb06f8e2
Reviewed-on: https://code.wireshark.org/review/37580
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/decode_as_dialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/qt/decode_as_dialog.cpp b/ui/qt/decode_as_dialog.cpp index 49606cc51f..6f1dea907d 100644 --- a/ui/qt/decode_as_dialog.cpp +++ b/ui/qt/decode_as_dialog.cpp @@ -187,6 +187,8 @@ void DecodeAsDialog::applyChanges() void DecodeAsDialog::on_buttonBox_clicked(QAbstractButton *button) { + ui->buttonBox->setFocus(); + switch (ui->buttonBox->standardButton(button)) { case QDialogButtonBox::Ok: applyChanges(); |