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:
antoniou79 2022-06-30 20:49:20 +03:00 committed by Eugene Sandulenko
parent e70af41540
commit ac8377286d
No known key found for this signature in database
GPG key ID: 014D387312D34F08

View file

@ -270,7 +270,6 @@ void GridItemTray::handleMouseDown(int x, int y, int button, int clickCount) {
} }
void GridItemTray::handleMouseWheel(int x, int y, int direction) { void GridItemTray::handleMouseWheel(int x, int y, int direction) {
Dialog::handleMouseWheel(x, y, direction);
close(); close();
} }