SANKORE-152 fix issue

preferencesAboutTextFull
ivan.ilyin 14 years ago
parent 383fd02a70
commit 9c1b273987
  1. 13
      src/core/UBApplicationController.cpp

@ -338,25 +338,29 @@ void UBApplicationController::showBoard()
void UBApplicationController::showInternet()
{
if (UBApplication::boardController){
if (UBApplication::boardController)
{
UBApplication::boardController->persistCurrentScene();
UBApplication::boardController->hide();
}
if (UBSettings::settings()->webUseExternalBrowser->get().toBool()){
if (UBSettings::settings()->webUseExternalBrowser->get().toBool())
{
showDesktop(true);
}
else {
else
{
mMainWindow->boardToolBar->hide();
mMainWindow->documentToolBar->hide();
mMainWindow->tutorialToolBar->hide();
mMainWindow->webToolBar->show();
mMainMode = Internet;
adaptToolBar();
mMainWindow->show();
mUninoteController->hideWindow();
mMainMode = Internet;
emit mainModeChanged(Internet);
}
UBApplication::webController->show(UBWebController::WebBrowser);
@ -371,7 +375,6 @@ void UBApplicationController::showDocument()
mMainWindow->tutorialToolBar->hide();
mMainWindow->documentToolBar->show();
mMainMode = Document;
adaptToolBar();

Loading…
Cancel
Save