Commit e50c8655 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Ignore rename if newName == oldName

BUG: 447951
parent fdbb7cad
Pipeline #118897 passed with stage
in 3 minutes and 17 seconds
......@@ -66,7 +66,7 @@ void KateFileActions::renameDocumentFile(QWidget *parent, KTextEditor::Document
QLineEdit::Normal,
oldFileName,
&ok);
if (!ok) {
if (!ok || (newFileName == oldFileName)) {
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment