mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r14228) -Fix (r14209): double click on the 'last joined' server didn't work
This commit is contained in:
parent
aaf1d78220
commit
c0cdfea97d
@ -532,7 +532,7 @@ public:
|
|||||||
|
|
||||||
virtual void OnDoubleClick(Point pt, int widget)
|
virtual void OnDoubleClick(Point pt, int widget)
|
||||||
{
|
{
|
||||||
if (widget == NGWW_MATRIX) {
|
if (widget == NGWW_MATRIX || widget == NGWW_LASTJOINED) {
|
||||||
/* is the Join button enabled? */
|
/* is the Join button enabled? */
|
||||||
if (!this->IsWidgetDisabled(NGWW_JOIN)) this->OnClick(pt, NGWW_JOIN);
|
if (!this->IsWidgetDisabled(NGWW_JOIN)) this->OnClick(pt, NGWW_JOIN);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user