mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-12 13:28:33 +00:00
Fix possible NRE in node script import
This commit is contained in:
parent
fa710777d7
commit
51f08379eb
@ -154,7 +154,7 @@ public class NodeScriptWindowViewModel : NodeScriptWindowViewModelBase
|
||||
.HavingFilter(f => f.WithExtension("json").WithName("Artemis node script"))
|
||||
.ShowAsync();
|
||||
|
||||
if (result == null)
|
||||
if (result == null || result.Length == 0)
|
||||
return;
|
||||
|
||||
try
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user