Potential bug fix...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20514 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-09-26 14:37:26 +00:00
parent 2e2d67a7de
commit 5b2415b594

View File

@ -53,11 +53,16 @@ public:
//@{
void applyView() {}
void hideView() { QDockWidget::hide(); }
void showView() { QDockWidget::show(); }
void showView()
{
widget_->updateView(); // make sure its up-to-date
QDockWidget::show();
}
bool isVisibleView() const { return QDockWidget::isVisible(); }
void checkStatus() {}
void redraw() { redrawView(); }
void redrawView() {}
void updateData(string const &) { updateView(); }
void updateView()
{
widget_->updateView();