mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-23 17:34:21 +03:00
netlist: Don't spam logs with errors on app shutdown
This commit is contained in:
parent
1752b22828
commit
ad4f869405
@ -481,6 +481,9 @@ class vmmNetworkList(vmmGObjectUI):
|
||||
current_label = uiutil.get_list_selection(netlist, column=2)
|
||||
|
||||
model = netlist.get_model()
|
||||
if not model:
|
||||
return
|
||||
|
||||
try:
|
||||
netlist.set_model(None)
|
||||
default_idx = self._populate_network_model(model)
|
||||
|
Loading…
Reference in New Issue
Block a user