Commit 6ed4bca 1 parent a63a26f commit 6ed4bca Copy full SHA for 6ed4bca
File tree 1 file changed +3
-2
lines changed
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[])
488
488
return EXIT_SUCCESS;
489
489
}
490
490
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
+
491
494
// / 5. Now that settings and translations are available, ask user for data directory
492
495
// User language is set up: pick a data directory
493
496
bool did_show_intro = false ;
@@ -559,8 +562,6 @@ int GuiMain(int argc, char* argv[])
559
562
#endif // ENABLE_WALLET
560
563
561
564
// / 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));
564
565
// Install global event filter that makes sure that out-of-focus labels do not contain text cursor.
565
566
app.installEventFilter (new GUIUtil::LabelOutOfFocusEventFilter (&app));
566
567
#if defined(Q_OS_WIN)
You can’t perform that action at this time.
0 commit comments