From f74202392745923f9ce372a6bdcd0a45db6bcd08 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 4 Mar 2012 16:08:55 +0300 Subject: Fix possible crash in npc menu. --- src/gui/widgets/listbox.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/listbox.h') diff --git a/src/gui/widgets/listbox.h b/src/gui/widgets/listbox.h index e4b6dd54e..1df07f19d 100644 --- a/src/gui/widgets/listbox.h +++ b/src/gui/widgets/listbox.h @@ -66,6 +66,8 @@ class ListBox : public gcn::ListBox void mouseDragged(gcn::MouseEvent &event); + void refocus(); + protected: gcn::Color mHighlightColor; static float mAlpha; -- cgit v1.2.3-70-g09d2