mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Ensure a double click focuses the active ListWindow, just like a single
click!
This commit is contained in:
parent
e81fc57f1d
commit
9e410eb739
@ -312,6 +312,7 @@ bool ListWindow::MouseEvent(const IMouseHandler::Event& event) {
|
|||||||
this->SetSelectedIndex(offset);
|
this->SetSelectedIndex(offset);
|
||||||
}
|
}
|
||||||
else if (event.Button1DoubleClicked()) {
|
else if (event.Button1DoubleClicked()) {
|
||||||
|
this->FocusInParent();
|
||||||
this->SetSelectedIndex(offset);
|
this->SetSelectedIndex(offset);
|
||||||
this->OnEntryActivated(offset); /* internal */
|
this->OnEntryActivated(offset); /* internal */
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user