Error: widget freezed after switching to board mode

preferencesAboutTextFull
Anatoly Mihalchenko 13 years ago
parent 6167ac7f1f
commit d17db2ec5b
  1. 1
      src/core/UBApplication.cpp
  2. 2
      src/core/UBApplicationController.cpp

@ -237,7 +237,6 @@ int UBApplication::exec(const QString& pFileToImport)
mainWindow->actionCut->setShortcuts(QKeySequence::Cut); mainWindow->actionCut->setShortcuts(QKeySequence::Cut);
connect(mainWindow->actionBoard, SIGNAL(triggered()), this, SLOT(showBoard())); connect(mainWindow->actionBoard, SIGNAL(triggered()), this, SLOT(showBoard()));
connect(mainWindow->actionBoard, SIGNAL(triggered()), this, SLOT(startScript()));
connect(mainWindow->actionWeb, SIGNAL(triggered()), this, SLOT(showInternet())); connect(mainWindow->actionWeb, SIGNAL(triggered()), this, SLOT(showInternet()));
connect(mainWindow->actionWeb, SIGNAL(triggered()), this, SLOT(stopScript())); connect(mainWindow->actionWeb, SIGNAL(triggered()), this, SLOT(stopScript()));
connect(mainWindow->actionDocument, SIGNAL(triggered()), this, SLOT(showDocument())); connect(mainWindow->actionDocument, SIGNAL(triggered()), this, SLOT(showDocument()));

@ -356,6 +356,8 @@ void UBApplicationController::showBoard()
mDisplayManager->adjustScreens(0); mDisplayManager->adjustScreens(0);
emit mainModeChanged(Board); emit mainModeChanged(Board);
UBApplication::boardController->freezeW3CWidgets(false);
} }

Loading…
Cancel
Save