|
|
@ -63,9 +63,7 @@ UBLeftPalette::~UBLeftPalette() |
|
|
|
|
|
|
|
|
|
|
|
void UBLeftPalette::onDocumentSet(UBDocumentProxy* documentProxy) |
|
|
|
void UBLeftPalette::onDocumentSet(UBDocumentProxy* documentProxy) |
|
|
|
{ |
|
|
|
{ |
|
|
|
// //This is necessary to force the teacher guide to be showed in priority each time a document is set
|
|
|
|
Q_UNUSED(documentProxy) |
|
|
|
// if(documentProxy && UBSettings::settings()->teacherGuidePageZeroActivated->get().toBool())
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// the tab zero is forced
|
|
|
|
// the tab zero is forced
|
|
|
|
mLastOpenedTabForMode.insert(eUBDockPaletteWidget_BOARD, 0); |
|
|
|
mLastOpenedTabForMode.insert(eUBDockPaletteWidget_BOARD, 0); |
|
|
|
} |
|
|
|
} |
|
|
|