File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -488,6 +488,9 @@ int GuiMain(int argc, char* argv[])
488488 return EXIT_SUCCESS;
489489 }
490490
491+ // Install global event filter that makes sure that long tooltips can be word-wrapped
492+ app.installEventFilter (new GUIUtil::ToolTipToRichTextFilter (TOOLTIP_WRAP_THRESHOLD, &app));
493+
491494 // / 5. Now that settings and translations are available, ask user for data directory
492495 // User language is set up: pick a data directory
493496 bool did_show_intro = false ;
@@ -559,8 +562,6 @@ int GuiMain(int argc, char* argv[])
559562#endif // ENABLE_WALLET
560563
561564 // / 9. Main GUI initialization
562- // Install global event filter that makes sure that long tooltips can be word-wrapped
563- app.installEventFilter (new GUIUtil::ToolTipToRichTextFilter (TOOLTIP_WRAP_THRESHOLD, &app));
564565 // Install global event filter that makes sure that out-of-focus labels do not contain text cursor.
565566 app.installEventFilter (new GUIUtil::LabelOutOfFocusEventFilter (&app));
566567#if defined(Q_OS_WIN)
You can’t perform that action at this time.
0 commit comments