fix: update table checkmarks when mods are synched (#370)

This commit is contained in:
aclist committed 2026-06-20 18:28:59 +09:00
1 parent 9225f3bc06
commit ed20a7cc84
3 files changed
+17 -2

No files matched your search

+5
View File
@@ -13,6 +13,7 @@ from gi.repository import Gtk, GLib, Gdk, Pango # noqa
if TYPE_CHECKING:
from dzgui.controllers.mc import Controller
from dzgui.controllers.emitter import Emitter
class ServerModTreeView(ContextMixin, TreeView): # type: ignore
@@ -48,6 +49,10 @@ class ServerModTreeView(ContextMixin, TreeView): # type: ignore
case _:
pass
def mark_mods_synched(self) -> None:
for row in self.mod_store:
row[2] = server_mods.checkmark
# TODO: could be problematic if user downloads mods out of band
def _on_row_activated(
self,