mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-12 06:50:19 -05:00
Add shield icon to start/stop server button.
This commit is contained in:
@@ -47,6 +47,9 @@ LRESULT CAdvancedPage::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*l
|
||||
}
|
||||
UpdateControls();
|
||||
|
||||
GetDlgItem(IDC_STARTSERVICE).SendMessage(BCM_SETSHIELD,0,TRUE);
|
||||
GetDlgItem(IDC_STOPSERVICE).SendMessage(BCM_SETSHIELD,0,TRUE);
|
||||
|
||||
GetApplication()->ServiceStatusSubscribe(this);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user