mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/virt-viewer
synced 2025-12-29 00:15:15 +00:00
Do not show twice error dialog when no VM are found
When running virt-viewer without argument, and no VM are found, you get two error dialogs. Only one is enough.
This commit is contained in:
parent
c0774f725a
commit
824c4b9c0d
@ -663,7 +663,6 @@ virt_viewer_initial_connect(VirtViewerApp *app, GError **error)
|
||||
} else {
|
||||
dom = choose_vm(&priv->domkey, priv->conn, &err);
|
||||
if (dom == NULL && err != NULL) {
|
||||
virt_viewer_app_simple_message_dialog(app, err->message);
|
||||
goto cleanup;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user