Fixed changing mode from desktop to board.

preferencesAboutTextFull
Aleksei Kanash 12 years ago
parent 197ba3a5f4
commit 816bfaa428
  1. 5
      src/core/UBApplicationController.cpp

@ -595,7 +595,7 @@ void UBApplicationController::checkUpdateRequest()
void UBApplicationController::hideDesktop() void UBApplicationController::hideDesktop()
{ {
mDisplayManager->adjustScreens(-1);
if(UBStylusTool::Eraser != UBDrawingController::drawingController()->stylusTool()){ if(UBStylusTool::Eraser != UBDrawingController::drawingController()->stylusTool()){
UBDrawingController::drawingController()->setDrawingMode(eDrawingMode_Vector); UBDrawingController::drawingController()->setDrawingMode(eDrawingMode_Vector);
@ -623,6 +623,9 @@ void UBApplicationController::hideDesktop()
} }
mIsShowingDesktop = false; mIsShowingDesktop = false;
mDisplayManager->adjustScreens(-1);
emit desktopMode(false); emit desktopMode(false);
} }

Loading…
Cancel
Save