Skip to content

Commit

Permalink
is_mounted only valid for mountable files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Wootten authored and Jeremy Wootten committed Feb 2, 2025
1 parent 424965a commit 8666db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcore/DndHandler.vala
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ namespace Files {
return Gdk.DragAction.DEFAULT;
}

if (!dest.is_mounted) {
if (dest.is_mountable () && !dest.is_mounted) {
return Gdk.DragAction.DEFAULT;
}

Expand Down

0 comments on commit 8666db6

Please sign in to comment.