# HG changeset patch # User smaxx # Date 1282564726 -7200 # Node ID ad2f669c8435e3b2db835348a02c9ceaa2a362dd # Parent d42571e2e6c94838024966967ebb0c400cb366b1 Frontend: * Fixed teams disappearing from options menu if leaving them active while leaving the game setup screen diff -r d42571e2e6c9 -r ad2f669c8435 QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Mon Aug 23 12:53:00 2010 +0200 +++ b/QTfrontend/hwform.cpp Mon Aug 23 13:58:46 2010 +0200 @@ -543,7 +543,8 @@ for(QList::iterator it = teams.begin(); it != teams.end(); ++it) { tmnames += it->TeamName; } - UpdateTeamsLists(&tmnames); // FIXME: still need more work if teamname is updated while configuring + //UpdateTeamsLists(&tmnames); // FIXME: still need more work if teamname is updated while configuring + UpdateTeamsLists(); GoToPage(ID_PAGE_SETUP); } diff -r d42571e2e6c9 -r ad2f669c8435 hedgewars/uStore.pas --- a/hedgewars/uStore.pas Mon Aug 23 12:53:00 2010 +0200 +++ b/hedgewars/uStore.pas Mon Aug 23 13:58:46 2010 +0200 @@ -1158,7 +1158,7 @@ vendor:= LowerCase(shortstring(pchar(glGetString(GL_VENDOR)))); {$IFDEF DEBUGFILE} AddFileLog('OpenGL-- Renderer: ' + shortstring(pchar(glGetString(GL_RENDERER)))); - AddFileLog(' |----- Vendor: ' + vendor); + AddFileLog(' |----- Vendor: ' + shortstring(pchar(glGetString(GL_VENDOR)))); AddFileLog(' |----- Version: ' + shortstring(pchar(glGetString(GL_VERSION)))); AddFileLog(' \----- GL_MAX_TEXTURE_SIZE: ' + inttostr(MaxTextureSize)); {$ENDIF}