Skip to content

Commit bb60ebb

Browse files
committed
fix: query load
1 parent 9982c91 commit bb60ebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/tabs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ impl TabsStore {
107107

108108
pub fn add_editor(&mut self, editor: Rc<RefCell<Option<CodeEditor>>>) {
109109
self.editors.update(|prev| {
110-
prev.insert((self.active_tabs.get_untracked() + 1).to_string(), editor);
110+
prev.insert((self.active_tabs.get_untracked() - 1).to_string(), editor);
111111
});
112112
}
113113

0 commit comments

Comments
 (0)