mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
Merge pull request #275 from crowning-/v0.11.2.x
Font size for "Available amount" adjusted and console history truncation fixed
This commit is contained in:
commit
0a73f2b2d2
4
src/qt/rpcconsole.cpp
Normal file → Executable file
4
src/qt/rpcconsole.cpp
Normal file → Executable file
@ -391,8 +391,8 @@ void RPCConsole::on_lineEdit_returnPressed()
|
||||
{
|
||||
message(CMD_REQUEST, cmd);
|
||||
emit cmdRequest(cmd);
|
||||
// Truncate history from current position
|
||||
history.erase(history.begin() + historyPtr, history.end());
|
||||
// Remove command, if already in history
|
||||
history.removeOne(cmd);
|
||||
// Append command to history
|
||||
history.append(cmd);
|
||||
// Enforce maximum history size
|
||||
|
Loading…
Reference in New Issue
Block a user