We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96df528 commit a67423aCopy full SHA for a67423a
1 file changed
src/icarus_editor/lib/services/icarus_profile.dart
@@ -1,6 +1,5 @@
1
import 'dart:convert';
2
3
-import 'package:icarus_editor/exceptions/icarus_exception.dart';
4
import 'package:icarus_editor/services/icarus_save.dart';
5
6
class IcarusProfile {
@@ -43,6 +42,9 @@ class IcarusProfile {
43
42
}
44
45
46
- throw IcarusException('Could not find meta resource $key');
+ var newIndex = profile['MetaResources'].length;
+ profile['MetaResources'].add({'MetaRow': '', 'Count': 0});
47
+
48
+ return newIndex;
49
50
0 commit comments