@ -269,7 +269,7 @@ void UBTeacherBarPreviewWidget::updateFields()
generateActions();
// Media
//generateMedias();
generateMedias();
// Links
generateLinks();
@ -362,7 +362,7 @@ void UBTeacherBarPreviewWidget::generateComments()
void UBTeacherBarPreviewWidget::showEvent(QShowEvent* ev)
{
//updateFields();
updateFields();
}
// -----------------------------------------------------------------------------------------------------
@ -170,7 +170,7 @@ void UBTeacherBarWidget::onTBStateChanged(eTeacherBarState state)
case eTeacherBarState_PagePreview:
saveContent();
mpPreview->clearFields();
mpPreview->updateFields();
//mpPreview->updateFields();
mpStackWidget->setCurrentWidget(mpPreview);
break;