Enabled the display of the media in the teacher bar page preview

preferencesAboutTextFull
shibakaneki 13 years ago
parent 628f213f1b
commit d461e3a786
  1. 4
      src/gui/UBTeacherBarPreviewWidget.cpp
  2. 2
      src/gui/UBTeacherBarWidget.cpp

@ -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;
}

Loading…
Cancel
Save