Skip to content

Commit

Permalink
Fixed bug where title would not change to 'closed' after world discon…
Browse files Browse the repository at this point in the history
…nect
  • Loading branch information
nickgammon committed Aug 31, 2010
1 parent 90802c7 commit e3a77d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions worldsock.cpp
Expand Up @@ -191,6 +191,8 @@ CString str;
Frame.SetStatusMessage (str);
m_pDoc->m_iConnectPhase = eConnectNotConnected;

m_pDoc->UpdateAllViews (NULL); // force window title to be redrawn

} // end of OnClose

void CWorldSocket::OnConnect(int nErrorCode)
Expand Down

0 comments on commit e3a77d5

Please sign in to comment.