Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
d461e3a7
Commit
d461e3a7
authored
Jan 25, 2012
by
shibakaneki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabled the display of the media in the teacher bar page preview
parent
628f213f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
UBTeacherBarPreviewWidget.cpp
src/gui/UBTeacherBarPreviewWidget.cpp
+2
-2
UBTeacherBarWidget.cpp
src/gui/UBTeacherBarWidget.cpp
+1
-1
No files found.
src/gui/UBTeacherBarPreviewWidget.cpp
View file @
d461e3a7
...
...
@@ -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
();
}
// -----------------------------------------------------------------------------------------------------
...
...
src/gui/UBTeacherBarWidget.cpp
View file @
d461e3a7
...
...
@@ -170,7 +170,7 @@ void UBTeacherBarWidget::onTBStateChanged(eTeacherBarState state)
case
eTeacherBarState_PagePreview
:
saveContent
();
mpPreview
->
clearFields
();
mpPreview
->
updateFields
();
//
mpPreview->updateFields();
mpStackWidget
->
setCurrentWidget
(
mpPreview
);
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment