1
0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2026-01-22 10:20:24 +00:00

Added early return for checked button on single option (#486)

This commit is contained in:
Matthew Edell
2023-02-17 00:53:49 -05:00
committed by GitHub
parent b6398794c9
commit 10221973fa

View File

@@ -323,6 +323,7 @@ impl<'a> App<'a> {
if !o.checked {
o.checked = true;
} else {
if is_single_option { return; }
o.checked = false;
}
} else if is_single_option {
@@ -340,6 +341,7 @@ impl<'a> App<'a> {
if !o.checked {
o.checked = true;
} else {
if is_single_option { return; }
o.checked = false;
}
} else if is_single_option {