netlist: Don't spam logs with errors on app shutdown

This commit is contained in:
Cole Robinson 2019-05-05 18:04:41 -04:00
parent 1752b22828
commit ad4f869405

View File

@ -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)