Skip to content

Commit

Permalink
Implement revert to schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
dasgarner committed Feb 26, 2017
1 parent f8427aa commit 8338885
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Logic/Schedule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,11 @@ void _xmrSubscriber_OnAction(Action.PlayerActionInterface action)
{
switch (action.GetActionName())
{
case RevertToSchedulePlayerAction.Name:
_scheduleManager.ClearLayoutChangeActions();
_scheduleManager.RunNow();
break;

case "collectNow":
// Run all of the various agents
wakeUpXmds();
Expand Down
3 changes: 2 additions & 1 deletion XiboClient.csproj.user
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
<StartArguments>o</StartArguments>
<StartArguments>
</StartArguments>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<StartArguments>
Expand Down

0 comments on commit 8338885

Please sign in to comment.