(svn r14228) -Fix (r14209): double click on the 'last joined' server didn't work

This commit is contained in:
smatz 2008-09-02 17:24:46 +00:00
parent aaf1d78220
commit c0cdfea97d

View File

@ -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);
} }