forked from AuroraMiddleware/gtk
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:
parent
aa4e8334ee
commit
ff84b96480
@ -1319,6 +1319,7 @@ volume_mount_ready_cb (GObject *source_volume,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
view->row_for_action = NULL;
|
||||||
view->mounting_volume = FALSE;
|
view->mounting_volume = FALSE;
|
||||||
update_loading (view);
|
update_loading (view);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user