mirror of
https://github.com/aclist/dztui.git
synced 2026-11-06 01:54:49 +01:00
chore: move signal emission into ServerTreeView
This commit is contained in:
1 parent
99ede36a32
commit
68cd567249
7 files changed
+90
-78
No files matched your search
@@ -1,5 +1,6 @@
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from dzgui.model.servers import ServerModelManager
|
||||
from dzgui.util.strings import connect_panel, fav_panel, lan_panel
|
||||
from dzgui.views.components.buttons import (
|
||||
AddButton,
|
||||
@@ -75,7 +76,9 @@ class LanPanel(Gtk.Frame):
|
||||
else:
|
||||
port = self.entry.get_text()
|
||||
abort = self.early_abort.get_active()
|
||||
self.controller.dump_lan(int(port), abort)
|
||||
smm = ServerModelManager(self.controller, self.controller.get_active_treeview())
|
||||
smm.dump_lan(int(port), abort)
|
||||
#self.controller.dump_lan(int(port), abort)
|
||||
|
||||
def _on_radio_toggled(self, button: Gtk.RadioButton) -> None:
|
||||
state = button.get_active()
|
||||
|
||||
Reference in new issue
Block a user