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

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

parent 9d69b8b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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))
        {