Skip to content

Commit 7af2bdc

Browse files
committed
Merge 9453fbf into merged_master (Bitcoin PR bitcoin-core/gui#20)
2 parents 1254d10 + 9453fbf commit 7af2bdc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/qt/bitcoin.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,9 @@ int GuiMain(int argc, char* argv[])
482482
return EXIT_SUCCESS;
483483
}
484484

485+
// Install global event filter that makes sure that long tooltips can be word-wrapped
486+
app.installEventFilter(new GUIUtil::ToolTipToRichTextFilter(TOOLTIP_WRAP_THRESHOLD, &app));
487+
485488
/// 5. Now that settings and translations are available, ask user for data directory
486489
// User language is set up: pick a data directory
487490
bool did_show_intro = false;
@@ -534,8 +537,6 @@ int GuiMain(int argc, char* argv[])
534537
/// 8. Payment server removed in Elements since we do not have "elements:" URIs
535538

536539
/// 9. Main GUI initialization
537-
// Install global event filter that makes sure that long tooltips can be word-wrapped
538-
app.installEventFilter(new GUIUtil::ToolTipToRichTextFilter(TOOLTIP_WRAP_THRESHOLD, &app));
539540
// Install global event filter that makes sure that out-of-focus labels do not contain text cursor.
540541
app.installEventFilter(new GUIUtil::LabelOutOfFocusEventFilter(&app));
541542
#if defined(Q_OS_WIN)

0 commit comments

Comments
 (0)