fixed renaming of host

This commit is contained in:
Natan Keddem
2023-11-12 21:14:30 -05:00
parent 40eb701e9b
commit 9120fcf64f

View File

@@ -108,6 +108,7 @@ class Drawer(object):
default = Tab(spinner=None).common.get("default", "")
if default == name:
Tab(spinner=None).common["default"] = ""
ssh.Ssh(path="data", host=name).remove()
for row in self._table.rows:
if name == row["name"]:
self._table.remove_rows(row)