From 67b2c2ff4a51f6b9fdc6c796c5ce28e79987b79e Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Tue, 3 Oct 2017 18:14:12 -0500 Subject: [PATCH] Fix service start text for tray icon context menu Related to issue #122. --- DS4Windows/DS4Forms/DS4Form.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/DS4Windows/DS4Forms/DS4Form.cs b/DS4Windows/DS4Forms/DS4Form.cs index db435cf..e0c6baa 100644 --- a/DS4Windows/DS4Forms/DS4Form.cs +++ b/DS4Windows/DS4Forms/DS4Form.cs @@ -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)