Fixed bug Sankore 55

preferencesAboutTextFull
Claudio Valerio 14 years ago
parent b4aecd8c57
commit 256e0a5104
  1. 26
      src/core/UBApplicationController.cpp

@ -333,34 +333,30 @@ void UBApplicationController::showBoard()
void UBApplicationController::showInternet()
{
if (UBSettings::settings()->webUseExternalBrowser->get().toBool())
{
showDesktop(true);
if (UBApplication::boardController){
UBApplication::boardController->persistCurrentScene();
UBApplication::boardController->hide();
}
else
{
if (UBApplication::boardController)
{
UBApplication::boardController->persistCurrentScene();
UBApplication::boardController->hide();
}
if (UBSettings::settings()->webUseExternalBrowser->get().toBool()){
showDesktop(true);
}
else {
mMainWindow->boardToolBar->hide();
mMainWindow->documentToolBar->hide();
mMainWindow->tutorialToolBar->hide();
mMainWindow->webToolBar->show();
mMainMode = Internet;
adaptToolBar();
mMainWindow->show();
mUninoteController->hideWindow();
UBApplication::webController->show(UBWebController::WebBrowser);
mMainMode = Internet;
emit mainModeChanged(Internet);
}
UBApplication::webController->show(UBWebController::WebBrowser);
}

Loading…
Cancel
Save