summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-09-02 17:24:46 +0000
committersmatz <smatz@openttd.org>2008-09-02 17:24:46 +0000
commitc0cdfea97d298bf64f507e48e711888ef6681db6 (patch)
tree055505a1b7ac74be0b37d4b2985dee347482de0e
parentaaf1d7822028fe93ea81265000d1d111814c8a3c (diff)
downloadopenttd-c0cdfea97d298bf64f507e48e711888ef6681db6.tar.xz
(svn r14228) -Fix (r14209): double click on the 'last joined' server didn't work
-rw-r--r--src/network/network_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 3048f5c56..300f32a13 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -532,7 +532,7 @@ public:
virtual void OnDoubleClick(Point pt, int widget)
{
- if (widget == NGWW_MATRIX) {
+ if (widget == NGWW_MATRIX || widget == NGWW_LASTJOINED) {
/* is the Join button enabled? */
if (!this->IsWidgetDisabled(NGWW_JOIN)) this->OnClick(pt, NGWW_JOIN);
}