From 9ee2d4442bb8248a6fd155a12acf54861465cf3d Mon Sep 17 00:00:00 2001 From: casey Date: Sun, 3 Jul 2016 02:19:41 -0700 Subject: [PATCH] Changed M-n shortcut to M-p and updated shortcut display --- src/musikbox/app/layout/LibraryLayout.cpp | 4 ++-- src/musikbox/app/window/ShortcutsWindow.cpp | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/musikbox/app/layout/LibraryLayout.cpp b/src/musikbox/app/layout/LibraryLayout.cpp index 6c1ccb9c6..0eb6037d9 100755 --- a/src/musikbox/app/layout/LibraryLayout.cpp +++ b/src/musikbox/app/layout/LibraryLayout.cpp @@ -149,7 +149,7 @@ void LibraryLayout::InitializeWindows() { this->shortcuts->AddShortcut("ALT+b", "browse"); this->shortcuts->AddShortcut("ALT+f", "filter"); this->shortcuts->AddShortcut("ALT+t", "tracks"); - this->shortcuts->AddShortcut("ALT+n", "playing"); + this->shortcuts->AddShortcut("ALT+p", "play queue"); this->shortcuts->AddShortcut("ALT+s", "settings"); this->AddWindow(this->transportView); @@ -188,7 +188,7 @@ bool LibraryLayout::KeyPress(const std::string& key) { } return true; } - else if (key == "M-n") { + else if (key == "M-p") { this->ShowNowPlaying(); return true; } diff --git a/src/musikbox/app/window/ShortcutsWindow.cpp b/src/musikbox/app/window/ShortcutsWindow.cpp index db9039375..08fcda04d 100755 --- a/src/musikbox/app/window/ShortcutsWindow.cpp +++ b/src/musikbox/app/window/ShortcutsWindow.cpp @@ -66,7 +66,6 @@ void ShortcutsWindow::Redraw() { std::string value; int64 active = COLOR_PAIR(CURSESPP_HIGHLIGHTED_SELECTED_LIST_ITEM); - int64 separator = COLOR_PAIR(CURSESPP_TEXT_SEPARATOR); WINDOW* c = this->GetContent(); werase(c);