mirror of https://github.com/BOINC/boinc.git
Fix 'Run client' feature for local connection
Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
parent
ebca06234a
commit
0419cc929c
|
@ -651,7 +651,7 @@ int CMainDocument::ResetState() {
|
|||
|
||||
|
||||
int CMainDocument::Connect(const wxString& szComputer, int iPort, const wxString& szComputerPassword, const bool bDisconnect, const bool bUseDefaultPassword) {
|
||||
if (IsComputerNameLocal(szComputer)) {
|
||||
if (wxGetApp().GetNeedRunDaemon() && IsComputerNameLocal(szComputer)) {
|
||||
// Restart client if not already running
|
||||
m_pClientManager->AutoRestart();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue