Do not display already-exists message when name isn't changed
Signed-off-by: mkljczk <git@mkljczk.pl>
This commit is contained in:
parent
cfe045827d
commit
f43f500302
1 changed files with 1 additions and 1 deletions
|
|
@ -3962,7 +3962,7 @@ impl Application for App {
|
|||
None
|
||||
} else {
|
||||
let path = parent.join(name);
|
||||
if path.exists() {
|
||||
if from != &path && path.exists() {
|
||||
if path.is_dir() {
|
||||
dialog = dialog
|
||||
.tertiary_action(widget::text::body(fl!("folder-already-exists")));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue