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(); generateActions();
// Media // Media
//generateMedias(); generateMedias();
// Links // Links
generateLinks(); generateLinks();
@ -362,7 +362,7 @@ void UBTeacherBarPreviewWidget::generateComments()
void UBTeacherBarPreviewWidget::showEvent(QShowEvent* ev) void UBTeacherBarPreviewWidget::showEvent(QShowEvent* ev)
{ {
//updateFields(); updateFields();
} }
// ----------------------------------------------------------------------------------------------------- // -----------------------------------------------------------------------------------------------------

@ -170,7 +170,7 @@ void UBTeacherBarWidget::onTBStateChanged(eTeacherBarState state)
case eTeacherBarState_PagePreview: case eTeacherBarState_PagePreview:
saveContent(); saveContent();
mpPreview->clearFields(); mpPreview->clearFields();
mpPreview->updateFields(); //mpPreview->updateFields();
mpStackWidget->setCurrentWidget(mpPreview); mpStackWidget->setCurrentWidget(mpPreview);
break; break;
} }

Loading…
Cancel
Save