Skip to content

Commit 5d0176f

Browse files
committed
Small fixes (remove debugging text)
1 parent 1a3f4de commit 5d0176f

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

AssistantComputerControl/Actions.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -782,10 +782,8 @@ public void AppendText(string parameter) {
782782
}
783783
}
784784
public void DoMessageBox(string parameter) {
785-
string theMessage = ActionChecker.GetSecondaryParam(parameter)[0]
786-
, theTitle = (ActionChecker.GetSecondaryParam(parameter).Length > 1 ? ActionChecker.GetSecondaryParam(parameter)[1] : null);
787-
788-
MainProgram.DoDebug("TESTTTTT ::::: " + (theTitle == null).ToString());
785+
string theMessage = ActionChecker.GetSecondaryParam(parameter)[0],
786+
theTitle = (ActionChecker.GetSecondaryParam(parameter).Length > 1 ? ActionChecker.GetSecondaryParam(parameter)[1] : null);
789787

790788
if (MainProgram.testingAction) {
791789
successMessage = "Simulated making a message box with the content \"" + theMessage + "\" and " + (String.IsNullOrEmpty(theTitle) ? "no title" : "custom title \"" + theTitle + "\"");

AssistantComputerControl/MainProgram.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ public static string CheckPath(bool noDefaultCheck = false) {
861861
if ((Properties.Settings.Default.HasCompletedTutorial && gettingStarted is null && !hasAskedForSetupAgain)) {
862862
//Cloud service path not found & no custom filepath, go through setup again?
863863
hasAskedForSetupAgain = true;
864-
var msgBox = MessageBox.Show("TEST" + Translator.__("no_cloudservice_chosen", "general"), "[ERROR] No folder specified | AssistantComputerControl", MessageBoxButtons.YesNo);
864+
var msgBox = MessageBox.Show(Translator.__("no_cloudservice_chosen", "general"), "[ERROR] No folder specified | AssistantComputerControl", MessageBoxButtons.YesNo);
865865
if (msgBox == DialogResult.Yes) {
866866
ShowGettingStarted();
867867
}

AssistantComputerControl/TestActionWindow.Designer.cs

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)