Attempt for bugfix to resume from msgbox

This commit is contained in:
Mark Vejvoda 2010-03-17 20:40:06 +00:00
parent 1f78d09b80
commit 10449faf39
1 changed files with 22 additions and 1 deletions

View File

@ -374,7 +374,28 @@ void Program::showMessage(const char *msg) {
//MainWindow *mainWindow= new MainWindow(this);
init(this->window,false);
setState(originalState);
//setState(originalState);
//if(Socket::enableDebugText) printf("In [%s::%s] START\n",__FILE__,__FUNCTION__);
delete this->programState;
//if(Socket::enableDebugText) printf("In [%s::%s] %d\n",__FILE__,__FUNCTION__,__LINE__);
this->programState= originalState;
//programState->load();
//if(Socket::enableDebugText) printf("In [%s::%s] %d\n",__FILE__,__FUNCTION__,__LINE__);
//programState->init();
//if(Socket::enableDebugText) printf("In [%s::%s] %d\n",__FILE__,__FUNCTION__,__LINE__);
//updateTimer.reset();
//updateCameraTimer.reset();
//fpsTimer.reset();
//this->programState = originalState;
//if(Socket::enableDebugText) printf("In [%s::%s %d]\n",__FILE__,__FUNCTION__,__LINE__);