This commit is contained in:
itdominator 2022-03-13 18:39:11 -05:00
parent 79953bb1ef
commit 79063e41cd
3 changed files with 11 additions and 11 deletions

View File

@ -26,7 +26,7 @@ class WindowController:
self._windows = []
def set__wid_and_tid(self, wid, tid):
def set_wid_and_tid(self, wid, tid):
self._active_window_id = str(wid)
self._active_tab_id = str(tid)

View File

@ -30,16 +30,16 @@ class Window:
def pop_tab(self):
self._tabs.pop()
def delete_tab_by_id(self, vid):
def delete_tab_by_id(self, tid):
for tab in self._tabs:
if tab.get_id() == vid:
if tab.get_id() == tid:
self._tabs.remove(tab)
break
def get_tab_by_id(self, vid):
def get_tab_by_id(self, tid):
for tab in self._tabs:
if tab.get_id() == vid:
if tab.get_id() == tid:
return tab
def get_tab_by_index(self, index):