Open tabs when opened
This commit is contained in:
@ -382,6 +382,7 @@ impl App {
|
|||||||
let id = self.next_tab_id;
|
let id = self.next_tab_id;
|
||||||
self.next_tab_id += 1;
|
self.next_tab_id += 1;
|
||||||
self.tabs.insert(i, (id, tab));
|
self.tabs.insert(i, (id, tab));
|
||||||
|
self.open_tab_index = Some(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn save_active_tab(&mut self, ctx: &Context) {
|
fn save_active_tab(&mut self, ctx: &Context) {
|
||||||
|
|||||||
Reference in New Issue
Block a user