From 52c7195a8ee91f95ef134d9798a47ea313df16c8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 11 Oct 2013 17:35:24 +0300 Subject: Second part of checks from Parasoft C++ Test. --- src/gui/widgets/shoplistbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/shoplistbox.cpp') diff --git a/src/gui/widgets/shoplistbox.cpp b/src/gui/widgets/shoplistbox.cpp index 263a94d95..d0ff4e746 100644 --- a/src/gui/widgets/shoplistbox.cpp +++ b/src/gui/widgets/shoplistbox.cpp @@ -192,7 +192,7 @@ void ShopListBox::setPriceCheck(const bool check) void ShopListBox::mouseMoved(gcn::MouseEvent &event) { - if (!mItemPopup) + if (!mItemPopup || !mRowHeight) return; if (!mShopItems) -- cgit v1.2.3-70-g09d2