Commit 81ad1006 authored by Craig Watson's avatar Craig Watson

Fix for window being placed badly on the screen when returning to board mode...

Fix for window being placed badly on the screen when returning to board mode from desktop mode on some environments
parent 70b2fd96
......@@ -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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment