X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/491daf4e43d1f9d6e04d586aee632875fcd34c7a..6f778005b524413a8a265f6037acbb1657c4efbd:/src/dolphinmainwindow.cpp diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 9ab754f38..9c3d9862b 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -2285,9 +2285,9 @@ void DolphinMainWindow::updateFileAndEditActions() KFileItem capabilitiesDestination; if (tabPage->primaryViewActive()) { - capabilitiesDestination = tabPage->secondaryViewContainer()->url(); + capabilitiesDestination = tabPage->secondaryViewContainer()->rootItem(); } else { - capabilitiesDestination = tabPage->primaryViewContainer()->url(); + capabilitiesDestination = tabPage->primaryViewContainer()->rootItem(); } copyToOtherViewAction->setEnabled(capabilitiesDestination.isWritable());