Commit 71027932 authored by Waqar Ahmed's avatar Waqar Ahmed Committed by Christoph Cullmann
Browse files

Fix renamed file is not openable directly

parent ac0842e6
......@@ -155,8 +155,9 @@ void KateProjectItem::setData(const QVariant &value, int role)
}
// change internal path
setData(oldName, Qt::UserRole);
setData(oldName, Qt::ToolTipRole);
setData(newName, Qt::UserRole);
emitDataChanged();
}
QStandardItem::setData(value, role);
......
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