Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
e50c8655
Commit
e50c8655
authored
Jan 05, 2022
by
Waqar Ahmed
Browse files
Ignore rename if newName == oldName
BUG: 447951
parent
fdbb7cad
Pipeline
#118897
passed with stage
in 3 minutes and 17 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
kate/katefileactions.cpp
View file @
e50c8655
...
...
@@ -66,7 +66,7 @@ void KateFileActions::renameDocumentFile(QWidget *parent, KTextEditor::Document
QLineEdit
::
Normal
,
oldFileName
,
&
ok
);
if
(
!
ok
)
{
if
(
!
ok
||
(
newFileName
==
oldFileName
)
)
{
return
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment