places: Fix crash when disconnecting

After disconnecting a network mount in places (when there's 2 or more
mounts), right clicking another mount crashes the application.
Set row_for_action to NULL when successfully unmounted.
This commit is contained in:
Corey Berla 2022-04-27 12:16:11 -07:00 committed by António Fernandes
parent aa4e8334ee
commit ff84b96480

View File

@ -1319,6 +1319,7 @@ volume_mount_ready_cb (GObject *source_volume,
return;
}
view->row_for_action = NULL;
view->mounting_volume = FALSE;
update_loading (view);