mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-12 09:18:00 +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)
|
current_label = uiutil.get_list_selection(netlist, column=2)
|
||||||
|
|
||||||
model = netlist.get_model()
|
model = netlist.get_model()
|
||||||
|
if not model:
|
||||||
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
netlist.set_model(None)
|
netlist.set_model(None)
|
||||||
default_idx = self._populate_network_model(model)
|
default_idx = self._populate_network_model(model)
|
||||||
|
Loading…
Reference in New Issue
Block a user