From 84b3b72ff11e699d683a0999a75606017d66fd58 Mon Sep 17 00:00:00 2001 From: madbad Date: Sun, 29 Nov 2015 17:35:42 +0000 Subject: [PATCH] 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 --- src/libs/tgfclient/webserver.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libs/tgfclient/webserver.cpp b/src/libs/tgfclient/webserver.cpp index 6f0ffb7b0..ca30d70d5 100644 --- a/src/libs/tgfclient/webserver.cpp +++ b/src/libs/tgfclient/webserver.cpp @@ -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";