aboutsummaryrefslogtreecommitdiff
path: root/lumina-fm/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-fm/widgets')
-rw-r--r--lumina-fm/widgets/DirWidget.cpp4
-rw-r--r--lumina-fm/widgets/DirWidget.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/lumina-fm/widgets/DirWidget.cpp b/lumina-fm/widgets/DirWidget.cpp
index 1cf5eb41..f7ade48c 100644
--- a/lumina-fm/widgets/DirWidget.cpp
+++ b/lumina-fm/widgets/DirWidget.cpp
@@ -557,6 +557,10 @@ void DirWidget::UpdateButtons(){
}
//Keyboard Shortcuts triggered
+void DirWidget::TryRenameSelection(){
+ on_tool_act_rename_clicked();
+}
+
void DirWidget::TryCutSelection(){
on_tool_act_cut_clicked();
}
diff --git a/lumina-fm/widgets/DirWidget.h b/lumina-fm/widgets/DirWidget.h
index 70936b97..75003681 100644
--- a/lumina-fm/widgets/DirWidget.h
+++ b/lumina-fm/widgets/DirWidget.h
@@ -72,6 +72,7 @@ public slots:
void UpdateButtons();
//Keyboard Shortcuts triggered
+ void TryRenameSelection();
void TryCutSelection();
void TryCopySelection();
void TryPasteSelection();
bgstack15