From: Abdelrazak Younes Date: Wed, 26 Sep 2007 20:18:41 +0000 (+0000) Subject: more bug fixes... X-Git-Tag: 1.6.10~8173 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c1540f8d92a446ec2b581fcaab65e9fcb55bb74e;p=lyx.git more bug fixes... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20524 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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();