diff options
author | Theo Linkspfeifer <lastonestanding@tutanota.com> | 2020-05-14 11:05:26 +0200 |
---|---|---|
committer | Alexander Schwinn <alexxcons@xfce.org> | 2020-05-14 21:47:07 +0200 |
commit | bad07aaa9803c9255ba62eb32fab623dfe05132f (patch) | |
tree | 47550828db5d96442552bb00a3283804138d06fa | |
parent | 48503ff6d7a6f08fa8effe02c364f39f68c90f11 (diff) | |
download | thunar-bad07aaa9803c9255ba62eb32fab623dfe05132f.tar.gz |
Only open device after successful mount attempt (Bug #16831)
-rw-r--r-- | thunar/thunar-tree-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thunar/thunar-tree-view.c b/thunar/thunar-tree-view.c index 5a4aca4b..33777590 100644 --- a/thunar/thunar-tree-view.c +++ b/thunar/thunar-tree-view.c @@ -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)) { |