src/network/network_gui.cpp
changeset 10061 6a7bce2eca5c
parent 10049 754a2d1e0e94
child 10145 849ba8b8626b
equal deleted inserted replaced
10060:e4d56b76c100 10061:6a7bce2eca5c
   530 		}
   530 		}
   531 	}
   531 	}
   532 
   532 
   533 	virtual void OnDoubleClick(Point pt, int widget)
   533 	virtual void OnDoubleClick(Point pt, int widget)
   534 	{
   534 	{
   535 		if (widget == NGWW_MATRIX) {
   535 		if (widget == NGWW_MATRIX || widget == NGWW_LASTJOINED) {
   536 			/* is the Join button enabled? */
   536 			/* is the Join button enabled? */
   537 			if (!this->IsWidgetDisabled(NGWW_JOIN)) this->OnClick(pt, NGWW_JOIN);
   537 			if (!this->IsWidgetDisabled(NGWW_JOIN)) this->OnClick(pt, NGWW_JOIN);
   538 		}
   538 		}
   539 	}
   539 	}
   540 
   540