mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-12 16:17:53 +00:00
[qt] Avoid potential null pointer dereference in TransactionView::exportClicked()
This commit is contained in:
parent
234ffc677e
commit
fd9599b135
@ -336,6 +336,10 @@ void TransactionView::changedAmount(const QString &amount)
|
||||
|
||||
void TransactionView::exportClicked()
|
||||
{
|
||||
if (!model || !model->getOptionsModel()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// CSV is currently the only supported format
|
||||
QString filename = GUIUtil::getSaveFileName(this,
|
||||
tr("Export Transaction History"), QString(),
|
||||
|
Loading…
Reference in New Issue
Block a user