GUI: Fix mouse wheel on grid item tray
When using the mouse wheel (scroll up/down) in the Grid view, item tray for a selected game, ScummVM would exit I didn't notice any side-effects from the fix, but someone more familiar with the code should confirm.
This commit is contained in:
parent
e70af41540
commit
ac8377286d
1 changed files with 0 additions and 1 deletions
|
@ -270,7 +270,6 @@ void GridItemTray::handleMouseDown(int x, int y, int button, int clickCount) {
|
|||
}
|
||||
|
||||
void GridItemTray::handleMouseWheel(int x, int y, int direction) {
|
||||
Dialog::handleMouseWheel(x, y, direction);
|
||||
close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue