Commit 713b1266 authored by Theo Linkspfeifer's avatar Theo Linkspfeifer Committed by Alexander Schwinn

Only open device after successful mount attempt (Bug #16831)

parent 9d69b8b1
......@@ -2098,7 +2098,7 @@ thunar_tree_view_mount_finish (ThunarDevice *device,
thunar_dialogs_show_error (GTK_WIDGET (data->view), error, _("Failed to mount \"%s\""), device_name);
g_free (device_name);
}
else
else if (thunar_device_is_mounted (device))
{
if (G_LIKELY (data->open_after_mounting))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment