Skip to content

Commit f101b1e

Browse files
committed
ReactiveUI 11.4.17
1 parent 6cb548b commit f101b1e

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

SimpleStateMachineNodeEditor/SimpleStateMachineNodeEditor.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@
6060
</ItemGroup>
6161

6262
<ItemGroup>
63-
<PackageReference Include="ReactiveUI" Version="11.4.1" />
64-
<PackageReference Include="ReactiveUI.Events.WPF" Version="11.4.1" />
65-
<PackageReference Include="ReactiveUI.Fody" Version="11.4.1" />
63+
<PackageReference Include="ReactiveUI" Version="11.4.17" />
64+
<PackageReference Include="ReactiveUI.Events.WPF" Version="11.4.17" />
65+
<PackageReference Include="ReactiveUI.Fody" Version="11.4.17" />
6666
<PackageReference Include="ReactiveUI.Validation" Version="1.4.15" />
67-
<PackageReference Include="ReactiveUI.WPF" Version="11.4.1" />
67+
<PackageReference Include="ReactiveUI.WPF" Version="11.4.17" />
6868
<PackageReference Include="Splat" Version="9.4.5" />
6969
<PackageReference Include="Splat.Drawing" Version="9.4.5" />
7070
</ItemGroup>

SimpleStateMachineNodeEditor/ViewModel/NodesCanvas/ViewModelNodesCanvasCommands.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,12 @@ private void Open()
340340
else
341341
{
342342
string startStateName = startStateAttribute.Value;
343+
if(string.IsNullOrEmpty(startStateName))
344+
{
345+
Error(string.Format("Name attribute of start state is empty.", startStateName));
346+
return;
347+
}
348+
343349
var startNode = this.Nodes.Items.SingleOrDefault(x => x.Name == startStateName);
344350
if (startNode == null)
345351
{

0 commit comments

Comments
 (0)