mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 11:10:52 +00:00
Fixed bug where DirectoryLayout wasn't properly consuming keys, leading
to the callback firing multiple times.
This commit is contained in:
parent
d23a6f8489
commit
6520e082c1
@ -40,6 +40,8 @@
|
||||
* fixed some weird edge-casey command bar focus issues.
|
||||
* finally renamed `src/core` to `src/musikcore`
|
||||
* added a ja_JP locale (trackiss)
|
||||
* fixed a bug where on-demand mp3 transcoding wasn't working properly. (other
|
||||
formats were fine)
|
||||
* rearranged the settings window to ensure everything fits properly in an 80x24
|
||||
terminal
|
||||
* fixed some bugs in `MessageQueue` by now requiring explicit `IMessageTarget`
|
||||
|
@ -247,6 +247,7 @@ bool DirectoryLayout::KeyPress(const std::string& key) {
|
||||
|
||||
this->Requery();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
else if (Hotkeys::Is(Hotkeys::ContextMenu, key)) {
|
||||
if (this->GetFocus() == this->directoryList) {
|
||||
@ -265,6 +266,7 @@ bool DirectoryLayout::KeyPress(const std::string& key) {
|
||||
index = (index == ListWindow::NO_SELECTION) ? 0 : index;
|
||||
this->playback.Play(*tracks.get(), index);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
else if (Hotkeys::Is(Hotkeys::ViewRefresh, key)) {
|
||||
this->queryHash = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user