forked from osmocom/wireshark
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>
This commit is contained in:
parent
09777ecc04
commit
52512329c2
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue