Fix service start text for tray icon context menu

Related to issue #122.
This commit is contained in:
Travis Nickles 2017-10-03 18:14:12 -05:00
parent 4f4bf78bea
commit 67b2c2ff4a

View File

@ -967,7 +967,7 @@ namespace DS4Windows
autoProfilesTimer.Start();
}
btnStartStop.Text = Properties.Resources.StopText;
startToolStripMenuItem.Text = btnStartStop.Text = Properties.Resources.StopText;
}
private void serviceShutdown(bool log)
@ -985,7 +985,7 @@ namespace DS4Windows
{
hotkeysTimer.Stop();
autoProfilesTimer.Stop();
btnStartStop.Text = Properties.Resources.StartText;
startToolStripMenuItem.Text = btnStartStop.Text = Properties.Resources.StartText;
blankControllerTab();
populateFullNotifyText();
}
@ -1001,8 +1001,6 @@ namespace DS4Windows
blankControllerTab();
serviceShutdown(log);
}
startToolStripMenuItem.Text = btnStartStop.Text;
}
protected void btnClear_Click(object sender, EventArgs e)