diff --git a/Source/DiabloUI/diabloui.cpp b/Source/DiabloUI/diabloui.cpp index 19589d06c..da7d43e80 100644 --- a/Source/DiabloUI/diabloui.cpp +++ b/Source/DiabloUI/diabloui.cpp @@ -921,7 +921,7 @@ Uint32 dbClickTimer; bool HandleMouseEventList(const SDL_Event &event, UiList *uiList) { - if (event.type != SDL_MOUSEBUTTONDOWN || event.button.button != SDL_BUTTON_LEFT) + if (event.type != SDL_MOUSEBUTTONUP || event.button.button != SDL_BUTTON_LEFT) return false; std::size_t index = uiList->indexAt(event.button.y);