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 @@ -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)
You can’t perform that action at this time.
0 commit comments