diff --git a/part/part.cpp b/part/part.cpp --- a/part/part.cpp +++ b/part/part.cpp @@ -1413,9 +1413,6 @@ void Part::slotEditFileName() { QModelIndex currentIndex = m_view->selectionModel()->currentIndex(); - currentIndex = (currentIndex.parent().isValid()) - ? currentIndex.parent().child(currentIndex.row(), 0) - : m_model->index(currentIndex.row(), 0); m_view->openEntryEditor(currentIndex); }