Fix dolphin to only enable the Cut context menu option if the file capabilites supportsMoving().

CCBUGS: 161594

Still need to fix Send to trash Context Option in Konqueror

svn path=/trunk/KDE/kdebase/apps/; revision=815362
This commit is contained in:
George Goldberg 2008-06-01 15:16:27 +00:00
parent c68112de65
commit 08dfefec38

View file

@ -1113,6 +1113,7 @@ void DolphinMainWindow::updateEditActions()
const bool enableMoveToTrash = capabilities.isLocal() && capabilities.supportsMoving();
actionCollection()->action("move_to_trash")->setEnabled(enableMoveToTrash);
actionCollection()->action("delete")->setEnabled(capabilities.supportsDeleting());
actionCollection()->action(KStandardAction::name(KStandardAction::Cut))->setEnabled(capabilities.supportsMoving());
}
updatePasteAction();
}