File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
SimpleStateMachineNodeEditor Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments