mirror of
https://github.com/aclist/dztui.git
synced 2026-11-10 20:10:38 +01:00
chore: clear typehinting errors
This commit is contained in:
1 parent
e64feac425
commit
25640751a5
23 files changed
+86
-105
No files matched your search
@@ -1,4 +1,4 @@
|
||||
from typing import TYPE_CHECKING
|
||||
from typing import Self, TYPE_CHECKING
|
||||
|
||||
from dzgui.const.enum import ModButton
|
||||
from dzgui.const.constants import NO_EXPAND, FILL, NO_PADDING
|
||||
@@ -64,7 +64,7 @@ class ModSelectionPanel(Gtk.Box):
|
||||
|
||||
self.connect("map", self._reinit_button)
|
||||
|
||||
def _reinit_button(self, s) -> None:
|
||||
def _reinit_button(self, widget: Self) -> None:
|
||||
for child in self.stale_panel.get_children():
|
||||
if child.enum == ModButton.UNHIGHLIGHT_STALE:
|
||||
child.set_sensitive(False)
|
||||
|
||||
Reference in new issue
Block a user