From c1540f8d92a446ec2b581fcaab65e9fcb55bb74e Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Wed, 26 Sep 2007 20:18:41 +0000 Subject: [PATCH] more bug fixes... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20524 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/DockView.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/frontends/qt4/DockView.h b/src/frontends/qt4/DockView.h index cce14d0670..7d2eb36c0e 100644 --- a/src/frontends/qt4/DockView.h +++ b/src/frontends/qt4/DockView.h @@ -53,6 +53,11 @@ public: //@{ void applyView() {} void hideView() { QDockWidget::hide(); } + void showData(std::string const & data) + { + controller_->initialiseParams(data); + showView(); + } void showView() { widget_->updateView(); // make sure its up-to-date @@ -62,7 +67,11 @@ public: void checkStatus() { updateView(); } void redraw() { redrawView(); } void redrawView() {} - void updateData(std::string const &) { updateView(); } + void updateData(std::string const & data) + { + controller_->initialiseParams(data); + updateView(); + } void updateView() { widget_->updateView(); -- 2.39.5