on wake up after sleeping the screen the unfreeze of w3c widget is triggered

preferencesAboutTextFull
Claudio Valerio 11 years ago
parent 93fcf6c2e6
commit 3c3414629a
  1. 5
      src/core/UBDisplayManager.cpp

@ -29,6 +29,7 @@
#include "core/UBSettings.h" #include "core/UBSettings.h"
#include "board/UBBoardView.h" #include "board/UBBoardView.h"
#include "board/UBBoardController.h"
#include "gui/UBBlackoutWidget.h" #include "gui/UBBlackoutWidget.h"
@ -277,7 +278,6 @@ void UBDisplayManager::blackout()
} }
} }
void UBDisplayManager::unBlackout() void UBDisplayManager::unBlackout()
{ {
while (!mBlackoutWidgets.isEmpty()) while (!mBlackoutWidgets.isEmpty())
@ -287,6 +287,9 @@ void UBDisplayManager::unBlackout()
} }
UBPlatformUtils::fadeDisplayIn(); UBPlatformUtils::fadeDisplayIn();
UBApplication::boardController->freezeW3CWidgets(false);
} }

Loading…
Cancel
Save