public static void AddCommand(string command) { if (activeProfile == null) { Log.Warning("Tried to add command without open profile"); return; } SetChanged(); activeProfile.AddCommand(command); }
public static void AddCommand(string command) { if (currentProfile == null) { Log.Warning("Tried to add command without open profile"); return; } unsavedChanges = true; currentProfile.AddCommand(command); }