Skip to content

Commit cbcca6d

Browse files
committed
ui: drop redundant profile hotkey hint
1 parent b4d8dd7 commit cbcca6d

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

src/ui/profiles_tab.rs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,10 @@ impl SettingsApp {
4343
self.config.profiles[i].hotkey = new_hk;
4444
self.dirty = true;
4545
}
46-
ui.horizontal(|ui| {
47-
if ui.button("Clear hotkey").clicked() {
48-
self.config.profiles[i].hotkey.clear();
49-
self.dirty = true;
50-
}
51-
ui.label("(empty = no hotkey)");
52-
});
46+
if ui.button("Clear hotkey").clicked() {
47+
self.config.profiles[i].hotkey.clear();
48+
self.dirty = true;
49+
}
5350

5451
ui.horizontal(|ui| {
5552
let ric = ui.checkbox(&mut self.config.profiles[i].icons, "Hide Icons");

0 commit comments

Comments
 (0)