fix: improve sort algo

This commit is contained in:
aclist committed 2026-02-16 01:57:51 +09:00
1 parent 45700e7a4a
commit c479051c2f
9 files changed
+36 -174

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ class ServerNotebook(Gtk.ScrolledWindow):
def grab_content_area(self) -> None:
self.get_active_treeview().grab_focus()
def get_current_tab_text(self) -> None:
def get_current_tab_text(self) -> str:
ind = self.notebook.get_current_page()
child = self.notebook.get_nth_page(ind)
return self.notebook.get_tab_label_text(child)