From c74f97aca7c3faf7358ee97167f57b9a7d437a24 Mon Sep 17 00:00:00 2001 From: itdominator <1itdominator@gmail.com> Date: Mon, 29 Dec 2025 14:29:31 -0600 Subject: [PATCH] Fixed copying to current directory to be allowed to prompt auto or manual rename --- src/solarfm/core/fs_actions/handler_mixin.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/solarfm/core/fs_actions/handler_mixin.py b/src/solarfm/core/fs_actions/handler_mixin.py index 17bf344..9651a9b 100644 --- a/src/solarfm/core/fs_actions/handler_mixin.py +++ b/src/solarfm/core/fs_actions/handler_mixin.py @@ -37,9 +37,6 @@ class HandlerMixin: file = Gio.File.new_for_path(path) if _target_path: - if file.get_parent().get_path() == _target_path: - raise HandlerMixinException("Parent dir of target and file locations are the same! Won't copy or move!") - if os.path.isdir(_target_path): info = file.query_info("standard::display-name", 0, cancellable=None) _target = f"{_target_path}/{info.get_display_name()}"