WebServer: properly hide UI from previous frame
if the screen is the same git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6288 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 979ecc08e775bddd529a70a9a3addaf7fe164c18 Former-commit-id: 0347fa1b19b6bb02084205649d94f580e689f867
This commit is contained in:
parent
0fa96bfeb3
commit
84b3b72ff1
1 changed files with 3 additions and 3 deletions
|
@ -347,14 +347,14 @@ void NotificationManager::createUi(){
|
|||
GfParmSetNum(this->menuXMLDescHdle, "dynamic controls/slide", "y", "null", ypos);
|
||||
}
|
||||
void NotificationManager::updateWebserverStatusUi(){
|
||||
/* //todo: this was causing some random crash
|
||||
//todo: this was causing some random crash
|
||||
//if there is some prev ui around hide it
|
||||
if(this->notifyUiIdBusyIcon > 0){
|
||||
if(this->notifyUiIdBusyIcon > 0 && this->screenHandle == this->prevScreenHandle){
|
||||
|
||||
GfuiVisibilitySet(this->prevScreenHandle, this->notifyUiIdBusyIcon, GFUI_INVISIBLE);
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
if(this->screenHandle > 0){
|
||||
//if webserver is busy display busy icon
|
||||
std::string webServerIcon = "busyicon";
|
||||
|
|
Loading…
Reference in a new issue