Skip to content

Commit

Permalink
Adjust TerminateAfterLastWindowClosed toggle location
Browse files Browse the repository at this point in the history
Move from advanced pane into general
  • Loading branch information
Kyle-Ye committed Oct 16, 2024
1 parent 3d6908f commit 59331bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Xcodes/Frontend/Preferences/AdvancedPreferencePane.swift
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,6 @@ struct AdvancedPreferencePane: View {
}
}
.groupBoxStyle(PreferencesGroupBoxStyle())

GroupBox(label: Text("Misc")) {
Toggle("TerminateAfterLastWindowClosed", isOn: $appState.terminateAfterLastWindowClosed)
}
.groupBoxStyle(PreferencesGroupBoxStyle())
}
}
}
Expand Down
6 changes: 6 additions & 0 deletions Xcodes/Frontend/Preferences/GeneralPreferencePane.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ struct GeneralPreferencePane: View {
NotificationsView().environmentObject(appState)
}
.groupBoxStyle(PreferencesGroupBoxStyle())
Divider()

GroupBox(label: Text("Misc")) {
Toggle("TerminateAfterLastWindowClosed", isOn: $appState.terminateAfterLastWindowClosed)
}
.groupBoxStyle(PreferencesGroupBoxStyle())
}
}
}
Expand Down

0 comments on commit 59331bc

Please sign in to comment.