Optimizing to SANKORE-493 (and that fix now resolve SANKORE-492).

preferencesAboutTextFull
Aleksei Kanash 13 years ago
parent 96107583d7
commit 0fdc8283a4
  1. 3
      src/board/UBBoardPaletteManager.cpp
  2. 1
      src/core/UBApplicationController.cpp

@ -822,8 +822,7 @@ void UBBoardPaletteManager::addItem(const QPixmap& pPixmap, const QPointF& pos,
void UBBoardPaletteManager::addItemToCurrentPage() void UBBoardPaletteManager::addItemToCurrentPage()
{ {
UBApplication::applicationController->showBoard(); UBApplication::applicationController->showBoard();
UBApplication::applicationController->hideDesktop();
mAddItemPalette->hide(); mAddItemPalette->hide();
if(mPixmap.isNull()) if(mPixmap.isNull())
UBApplication::boardController->downloadURL(mItemUrl); UBApplication::boardController->downloadURL(mItemUrl);

@ -347,6 +347,7 @@ void UBApplicationController::showBoard()
if (UBApplication::boardController) if (UBApplication::boardController)
UBApplication::boardController->show(); UBApplication::boardController->show();
mIsShowingDesktop = false;
UBPlatformUtils::setDesktopMode(false); UBPlatformUtils::setDesktopMode(false);
mUninoteController->hideWindow(); mUninoteController->hideWindow();

Loading…
Cancel
Save