┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorGeorge Goldberg <[email protected]>2008-06-01 15:16:27 +0000
committerGeorge Goldberg <[email protected]>2008-06-01 15:16:27 +0000
commit08dfefec38e2f6af3c199a3db947e8dcc55993b6 (patch)
tree1e148810df344cc5e17aef18db88ae6f912d79bc /src/dolphinmainwindow.cpp
parentc68112de6540321522ea6496ee33382254d75be0 (diff)
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
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index 85ff9f7f5..41e7cd309 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -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();
}