diff --git a/.vs/MLEM/DesignTimeBuild/.dtbcache.v2 b/.vs/MLEM/DesignTimeBuild/.dtbcache.v2
new file mode 100644
index 0000000..c2eeff1
Binary files /dev/null and b/.vs/MLEM/DesignTimeBuild/.dtbcache.v2 differ
diff --git a/.vs/MLEM/FileContentIndex/f70a5f03-4fad-4b6f-bd44-128b17493fd1.vsidx b/.vs/MLEM/FileContentIndex/46e19457-8383-48b4-97de-77d98c72e25c.vsidx
similarity index 99%
rename from .vs/MLEM/FileContentIndex/f70a5f03-4fad-4b6f-bd44-128b17493fd1.vsidx
rename to .vs/MLEM/FileContentIndex/46e19457-8383-48b4-97de-77d98c72e25c.vsidx
index 49ba1ec..5a2152e 100644
Binary files a/.vs/MLEM/FileContentIndex/f70a5f03-4fad-4b6f-bd44-128b17493fd1.vsidx and b/.vs/MLEM/FileContentIndex/46e19457-8383-48b4-97de-77d98c72e25c.vsidx differ
diff --git a/.vs/MLEM/FileContentIndex/5c4473ad-46e5-45a6-9b64-48418cb0d292.vsidx b/.vs/MLEM/FileContentIndex/5c4473ad-46e5-45a6-9b64-48418cb0d292.vsidx
deleted file mode 100644
index c31d15d..0000000
Binary files a/.vs/MLEM/FileContentIndex/5c4473ad-46e5-45a6-9b64-48418cb0d292.vsidx and /dev/null differ
diff --git a/.vs/MLEM/FileContentIndex/973bc6f6-d6dd-455e-9fda-1f84176c51db.vsidx b/.vs/MLEM/FileContentIndex/973bc6f6-d6dd-455e-9fda-1f84176c51db.vsidx
new file mode 100644
index 0000000..db3fbc2
Binary files /dev/null and b/.vs/MLEM/FileContentIndex/973bc6f6-d6dd-455e-9fda-1f84176c51db.vsidx differ
diff --git a/.vs/MLEM/FileContentIndex/2186cc36-8647-4fe1-8bf6-39eff9be3f51.vsidx b/.vs/MLEM/FileContentIndex/a2f916e6-6a04-42e9-91d8-a337229033f7.vsidx
similarity index 99%
rename from .vs/MLEM/FileContentIndex/2186cc36-8647-4fe1-8bf6-39eff9be3f51.vsidx
rename to .vs/MLEM/FileContentIndex/a2f916e6-6a04-42e9-91d8-a337229033f7.vsidx
index a170885..441fae3 100644
Binary files a/.vs/MLEM/FileContentIndex/2186cc36-8647-4fe1-8bf6-39eff9be3f51.vsidx and b/.vs/MLEM/FileContentIndex/a2f916e6-6a04-42e9-91d8-a337229033f7.vsidx differ
diff --git a/.vs/MLEM/FileContentIndex/c47387ca-5f05-4443-b87b-696fe5248e7e.vsidx b/.vs/MLEM/FileContentIndex/c47387ca-5f05-4443-b87b-696fe5248e7e.vsidx
new file mode 100644
index 0000000..f54a611
Binary files /dev/null and b/.vs/MLEM/FileContentIndex/c47387ca-5f05-4443-b87b-696fe5248e7e.vsidx differ
diff --git a/.vs/MLEM/v17/.futdcache.v2 b/.vs/MLEM/v17/.futdcache.v2
new file mode 100644
index 0000000..d748f39
Binary files /dev/null and b/.vs/MLEM/v17/.futdcache.v2 differ
diff --git a/.vs/MLEM/v17/.suo b/.vs/MLEM/v17/.suo
index 83586e4..06b706b 100644
Binary files a/.vs/MLEM/v17/.suo and b/.vs/MLEM/v17/.suo differ
diff --git a/.vs/ProjectEvaluation/mlem.metadata.v7.bin b/.vs/ProjectEvaluation/mlem.metadata.v7.bin
new file mode 100644
index 0000000..7ad4b74
Binary files /dev/null and b/.vs/ProjectEvaluation/mlem.metadata.v7.bin differ
diff --git a/.vs/ProjectEvaluation/mlem.projects.v7.bin b/.vs/ProjectEvaluation/mlem.projects.v7.bin
new file mode 100644
index 0000000..6ceaab6
Binary files /dev/null and b/.vs/ProjectEvaluation/mlem.projects.v7.bin differ
diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json
new file mode 100644
index 0000000..9eda2e2
--- /dev/null
+++ b/.vs/VSWorkspaceState.json
@@ -0,0 +1,7 @@
+{
+ "ExpandedNodes": [
+ ""
+ ],
+ "SelectedNode": "\\MLEM.sln",
+ "PreviewInSolutionExplorer": false
+}
\ No newline at end of file
diff --git a/MLEM.Ui/Elements/RadioGroupButton.cs b/MLEM.Ui/Elements/RadioGroupButton.cs
index 0a419e6..c3c04d1 100644
--- a/MLEM.Ui/Elements/RadioGroupButton.cs
+++ b/MLEM.Ui/Elements/RadioGroupButton.cs
@@ -26,8 +26,8 @@ namespace MLEM.Ui.Elements {
/// The radio button's size
/// The label to display next to the radio button
/// If the radio button should be checked by default
- /// The group that the radio button has
- public RadioGroupButton(Anchor anchor, Vector2 size, string label, bool defaultChecked = false, RadioGroup? group = null) :
+ /// The group that the radio button has. Can be null
+ public RadioGroupButton(Anchor anchor, Vector2 size, string label, bool defaultChecked = false, RadioGroup group = null) :
base(anchor, size, label, defaultChecked) {
this.Group = group;
@@ -53,8 +53,12 @@ namespace MLEM.Ui.Elements {
/// A group of radio group buttons
///
public class RadioGroup {
- private RadioGroupButton? selection;
- public RadioGroupButton? Selection{ get => selection; set {
+ //can be null
+ private RadioGroupButton selection;
+ ///
+ /// The currently selected item, set to null to unselect all
+ ///
+ public RadioGroupButton Selection{ get => selection; set {
if (selection != null) this.selection.Checked = false;
selection = value;
if(selection != null) {