Skip to content

Commit d9212bc

Browse files
committed
update all widgets before system tray icon creation
1 parent 9b62c22 commit d9212bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/control_box/controlbox.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ void ControlBox::createSystemTrayIcon(bool b_startminimized)
851851
trayicon = new QSystemTrayIcon(this);
852852
trayicon->setContextMenu(trayIconMenu);
853853
ui.checkBox_hideIcon->setEnabled(true);
854-
this->assembleTrayIcon();
854+
this->updateDisplayWidgets();
855855
trayicon->setVisible(true);
856856

857857
// start minimized, no reason to do anything as we're minimized until

0 commit comments

Comments
 (0)