Fix for window being placed badly on the screen when returning to board mode from desktop mode on some environments

preferencesAboutTextFull
Craig Watson 9 years ago
parent 70b2fd960b
commit 81ad100610
  1. 2
      src/core/UBApplicationController.cpp
  2. 8
      src/desktop/UBDesktopAnnotationController.cpp

@ -375,7 +375,7 @@ void UBApplicationController::showBoard()
mUninoteController->hideWindow();
mMainWindow->show();
UBPlatformUtils::showFullScreen(mMainWindow);
emit mainModeChanged(Board);

@ -411,13 +411,7 @@ void UBDesktopAnnotationController::hideWindow()
void UBDesktopAnnotationController::goToUniboard()
{
onToolClicked();
hideWindow();
UBPlatformUtils::setDesktopMode(false);
UBDrawingController::drawingController()->setInDestopMode(false);
emit restoreUniboard();
UBApplication::applicationController->showBoard();
}

Loading…
Cancel
Save