| 133 | } |
| 134 | |
| 135 | void onSelectKey(const SelectKeyEvent& e) override { |
| 136 | if (e.action == GLFW_PRESS && (e.isKeyCommand(GLFW_KEY_ENTER) || e.isKeyCommand(GLFW_KEY_KP_ENTER))) { |
| 137 | DeselectEvent eDeselect; |
| 138 | onDeselect(eDeselect); |
| 139 | APP->event->selectedWidget = NULL; |
| 140 | e.consume(this); |
| 141 | } |
| 142 | } |
| 143 | }; |
| 144 | |
| 145 |
nothing calls this directly
no test coverage detected