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
commit97b1eb2c6fa4e1d6bc453abf02f211cbcb896902 (patch)
tree055505a1b7ac74be0b37d4b2985dee347482de0e
parentea19a10dd243293c02ed5ff8a03a004098a561df (diff)
downloadopenttd-97b1eb2c6fa4e1d6bc453abf02f211cbcb896902.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);
}