fix: do not pass BM key during ip method

This commit is contained in:
aclist committed 2026-02-27 22:21:08 +09:00
1 parent 374f7d1130
commit 1b1cb33a6e
3 files changed
+2 -4

No files matched your search

+1 -3
View File
@@ -65,9 +65,7 @@ class ContextMenuManager:
# TODO: update tab with !
case ContextMenu.CONNECT:
record = self.treeview.get_record_string()
# FIXME: context menu connections do not require BM key
key = self.controller.get_config_man().lookup(Preferences.BM)
ConnectionManager(self.controller).connect_ip(record, key)
ConnectionManager(self.controller).connect_by_ip(record)
case ContextMenu.REFRESH_PLAYERS:
# get record
# call a2s on thread