Skip to content

Commit

Permalink
gui: Manage assets - update list when shown. (#1060)
Browse files Browse the repository at this point in the history
Update asset list when the qcombobox is shown.
    Fixes #1059
  • Loading branch information
fdoving committed Jun 12, 2021
1 parent 64153d3 commit 72829a3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/qt/reissueassetdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ ReissueAssetDialog::ReissueAssetDialog(const PlatformStyle *_platformStyle, QWid


ui->addressText->installEventFilter(this);
ui->comboBox->installEventFilter(this);
ui->lineEditVerifierString->installEventFilter(this);
}

Expand Down Expand Up @@ -258,6 +259,12 @@ bool ReissueAssetDialog::eventFilter(QObject *sender, QEvent *event)
{
hideInvalidVerifierStringMessage();
}
} else if (sender == ui->comboBox)
{
if(event->type()== QEvent::Show)
{
updateAssetsList();
}
}
return QWidget::eventFilter(sender,event);
}
Expand Down

0 comments on commit 72829a3

Please sign in to comment.