mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-24 22:25:56 -05:00
Set shield on autostart checkbox
This commit is contained in:
parent
8173070a59
commit
4547e93785
@ -43,6 +43,7 @@ LRESULT CAdvancedPage::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*l
|
||||
|
||||
GetDlgItem(IDC_STARTSERVICE).SendMessage(BCM_SETSHIELD,0,TRUE);
|
||||
GetDlgItem(IDC_STOPSERVICE).SendMessage(BCM_SETSHIELD,0,TRUE);
|
||||
GetDlgItem(IDC_AUTOSTART).SendMessage(BCM_SETSHIELD,0,TRUE);
|
||||
|
||||
GetApplication()->ServiceStatusSubscribe(this);
|
||||
return 0;
|
||||
|
@ -35,7 +35,6 @@ bool Service::ExecHelper(const TCHAR *szAction) {
|
||||
|
||||
ZeroMemory(&pi,sizeof(pi));
|
||||
|
||||
|
||||
BOOL bStarted = CreateProcess(NULL,cmd,NULL,NULL,
|
||||
FALSE,0,NULL,NULL,&si,&pi);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user