We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0923876 commit 5b6b4e4Copy full SHA for 5b6b4e4
1 file changed
src/ui/mod.rs
@@ -128,10 +128,8 @@ impl eframe::App for SettingsApp {
128
129
ui.horizontal(|ui| {
130
// Apply & Save doesn't make sense on the About tab
131
- if self.current_tab != Tab::About {
132
- if ui.button("Apply & Save").clicked() {
133
- self.apply();
134
- }
+ if self.current_tab != Tab::About && ui.button("Apply & Save").clicked() {
+ self.apply();
135
}
136
if ui.button("Close").clicked() {
137
ctx.send_viewport_cmd(egui::ViewportCommand::Close);
0 commit comments