Changed M-n shortcut to M-p and updated shortcut display

This commit is contained in:
casey 2016-07-03 02:19:41 -07:00
parent a6bf8dbbac
commit 9ee2d4442b
2 changed files with 2 additions and 3 deletions

View File

@ -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;
}

View File

@ -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);