mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
fix: get rid UB from integer overflow in transactionview
This commit is contained in:
parent
6b87c21f75
commit
c35746088e
@ -333,7 +333,7 @@ void TransactionView::chooseType(int idx)
|
||||
if(!transactionProxyModel)
|
||||
return;
|
||||
transactionProxyModel->setTypeFilter(
|
||||
typeWidget->itemData(idx).toInt());
|
||||
typeWidget->itemData(idx).toUInt());
|
||||
// Persist settings
|
||||
QSettings settings;
|
||||
settings.setValue("transactionType", idx);
|
||||
|
Loading…
Reference in New Issue
Block a user