Skip to content

Commit 9f1281b

Browse files
committed
Merge branch 'Settings-Menu-fix' of git@github.com:rondlh/CaDoodle-Application.git into main
2 parents 2897818 + fcc71b2 commit 9f1281b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/commonwealthrobotics/SettingsManager.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,10 @@ public static void main(String[] args) {
428428

429429
public static void launch(MainController mc) {
430430
SettingsManager.mc = mc;
431+
if (stage != null && stage.isShowing()) {
432+
stage.toFront();
433+
return;
434+
}
431435
try {
432436
// Load the FXML file
433437

0 commit comments

Comments
 (0)