Skip to content

Commit

Permalink
respect enable_tab_bar on config reload
Browse files Browse the repository at this point in the history
  • Loading branch information
wez committed Nov 25, 2019
1 parent 80719f4 commit cb9fd7d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/frontend/gui/termwindow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -606,8 +606,11 @@ impl TermWindow {
}

fn config_was_reloaded(&mut self) {
let config = configuration();

self.show_tab_bar = config.enable_tab_bar;
self.keys = KeyMap::new();
self.config_generation = configuration().generation();
self.config_generation = config.generation();
let dimensions = self.dimensions;
self.apply_scale_change(&dimensions, self.fonts.get_font_scale());
self.apply_dimensions(&dimensions, true);
Expand Down

0 comments on commit cb9fd7d

Please sign in to comment.