summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2011-03-21 12:58:08 +0100
committerLars-Dominik Braun <lars@6xq.net>2011-03-21 12:58:08 +0100
commitceed4acd2f404dede571a014c186acc985397d94 (patch)
tree4945093f559bd67273e2a0d91fe96866cb6c5362
parentc9a55302305ec070cc03f4329e26b98f8034cefc (diff)
downloadpianobar-windows-ceed4acd2f404dede571a014c186acc985397d94.tar.gz
pianobar-windows-ceed4acd2f404dede571a014c186acc985397d94.tar.bz2
pianobar-windows-ceed4acd2f404dede571a014c186acc985397d94.zip
Enable delete feedback in station manager
-rw-r--r--src/ui_act.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui_act.c b/src/ui_act.c
index fc45775..491cedb 100644
--- a/src/ui_act.c
+++ b/src/ui_act.c
@@ -562,7 +562,9 @@ BarUiActCallback(BarUiActManageStation) {
PianoSong_t *song = BarUiSelectSong (&app->settings,
reqData.info.feedback, &app->input);
if (song != NULL) {
- BarUiMsg (MSG_INFO, "Deleting feedback for %s\n", song->title);
+ BarUiMsg (MSG_INFO, "Deleting feedback...");
+ BarUiActDefaultPianoCall (PIANO_REQUEST_DELETE_FEEDBACK, song);
+ BarUiActDefaultEventcmd ("stationdeletefeedback");
}
}
}