Skip to content

Commit 72829a3

Browse files
authored
gui: Manage assets - update list when shown. (#1060)
Update asset list when the qcombobox is shown. Fixes #1059
1 parent 64153d3 commit 72829a3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/qt/reissueassetdialog.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ ReissueAssetDialog::ReissueAssetDialog(const PlatformStyle *_platformStyle, QWid
146146

147147

148148
ui->addressText->installEventFilter(this);
149+
ui->comboBox->installEventFilter(this);
149150
ui->lineEditVerifierString->installEventFilter(this);
150151
}
151152

@@ -258,6 +259,12 @@ bool ReissueAssetDialog::eventFilter(QObject *sender, QEvent *event)
258259
{
259260
hideInvalidVerifierStringMessage();
260261
}
262+
} else if (sender == ui->comboBox)
263+
{
264+
if(event->type()== QEvent::Show)
265+
{
266+
updateAssetsList();
267+
}
261268
}
262269
return QWidget::eventFilter(sender,event);
263270
}

0 commit comments

Comments
 (0)