Force redraw on tab switches
This commit is contained in:
parent
3ba99aaab5
commit
d4c854738f
1 changed files with 5 additions and 1 deletions
|
|
@ -430,7 +430,11 @@ impl App {
|
||||||
self.update_nav_bar_active();
|
self.update_nav_bar_active();
|
||||||
|
|
||||||
let title = match self.active_tab() {
|
let title = match self.active_tab() {
|
||||||
Some(tab) => tab.title(),
|
Some(tab) => {
|
||||||
|
// Force redraw on tab switches
|
||||||
|
tab.editor.lock().unwrap().buffer_mut().set_redraw(true);
|
||||||
|
tab.title()
|
||||||
|
}
|
||||||
None => format!("No Open File"),
|
None => format!("No Open File"),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue