mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Merge pull request #1146 from andreabonel/master_issue_1144
Elements-qt: Fix arrows to increase/decrease Amount
This commit is contained in:
commit
0be72f4c39
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ public:
|
|||
currentSingleStep = 100000000; // a whole asset
|
||||
}
|
||||
}
|
||||
val.second = val.second + steps * singleStep;
|
||||
val.second = val.second + steps * currentSingleStep;
|
||||
val.second = qMax(val.second, CAmount(0));
|
||||
val.second = qBound(m_min_amount, val.second, m_max_amount);
|
||||
// FIXME: Add this back in when assets can have > MAX_MONEY
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue