Frontend:
authorsmaxx
Mon, 23 Aug 2010 13:58:46 +0200
changeset 3757 ad2f669c8435
parent 3756 d42571e2e6c9
child 3758 80007c41c35e
Frontend: * Fixed teams disappearing from options menu if leaving them active while leaving the game setup screen
QTfrontend/hwform.cpp
hedgewars/uStore.pas
--- 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<HWTeam>::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);
 }
--- 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}