Skip to content

Conversation

achow101
Copy link
Member

This fixes a bug where the history was cleared when the font size was changed. The history is now kept unless explicitly cleared with the clear button.

The history is no longer cleared after the font size is changed
@achow101 achow101 force-pushed the rpcconsole-hist-fix branch from e94b2ed to 21e45a0 Compare March 11, 2016 18:20
@paveljanik
Copy link
Contributor

3 changed lines, 3 new lines added (could be two if if's opening { is on the same line ;-).

Nice and elegant!

Tested ACK. History is not deleted after font size changed in the UI.

@jonasschnelli
Copy link
Contributor

Hmm... when I had implemented this, I encountered that the font size change only works after clearing the console (because of some html subsystem). The console content should be restored at L494.

Are you sure the console window gets cleared when changing the font size? If so, what platform?

@achow101
Copy link
Member Author

@jonasschnelli It isn't the console, but rather the history in the text box for commands. When you hit the up arrow you can choose a previously entered command but after changing the font size that history is cleared. This fixes that

@jonasschnelli
Copy link
Contributor

Ah! Right.
Nice catch!

utACK.

@jonasschnelli
Copy link
Contributor

Tested ACK 21e45a0

@jonasschnelli jonasschnelli merged commit 21e45a0 into bitcoin:master Mar 14, 2016
jonasschnelli added a commit that referenced this pull request Mar 14, 2016
21e45a0 Fix history deletion bug after font change (Andrew C)
@achow101 achow101 deleted the rpcconsole-hist-fix branch October 29, 2016 03:34
cddjr referenced this pull request in cddjr/BitcoinUnlimited Apr 6, 2017
21e45a0 Fix history deletion bug after font change (Andrew C)
codablock pushed a commit to codablock/dash that referenced this pull request Sep 5, 2017
21e45a0 Fix history deletion bug after font change (Andrew C)
UdjinM6 pushed a commit to dashpay/dash that referenced this pull request Sep 7, 2017
* Merge pull request bitcoin#7154

a3c3ddb [Qt] add InMempool() info to transaction details (Jonas Schnelli)

* Merge pull request bitcoin#7218

fa5769e [qt] Fix misleading translation (MarcoFalke)
fa8c8d7 torcontrol debug: Change to a blanket message that covers both cases (MarcoFalke)

* Merge pull request bitcoin#7255

6fd0a07 Remove hardcoded fee from CoinControl ToolTip (fanquake)
5fdf32d Replace some instances of formatWithUnit with formatHtmlWithUnit (fanquake)

* Merge pull request bitcoin#7263

a5a0831 Double semicolon cleanup. (21E14)

* Merge pull request bitcoin#7334

fa989fb [qt] coincontrol workaround is still needed in qt5.4 (fixed in qt5.5) (MarcoFalke)

* Merge pull request bitcoin#7329

9d263bd Typo fixes in comments (Chris Wheeler)

* Merge bitcoin#7396: [Qt] Add option to increase/decrease font size in the console window

43abb02 [Qt] Add a new chevron/arrow icon for the console prompt line (Jonas Schnelli)
56c9e66 [Qt] keep scroll position in GUI console after changing font size (Jonas Schnelli)
3a3a927 [Qt] Add option to increase/decrease font size in the console window (Jonas Schnelli)

* Merge bitcoin#7628: QT: Add 'copy full transaction details' option

b51ed40 QT: Add 'copy full transaction details' option (Eric Shaw)

* Merge bitcoin#7668: Fix history deletion bug after font size change

21e45a0 Fix history deletion bug after font change (Andrew C)

* Copy/Move font size related icons into theme folders

* Use formatTxDate for date/time in TxPlainTextRole
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants