]> git.lyx.org Git - lyx.git/commitdiff
more bug fixes...
authorAbdelrazak Younes <younes@lyx.org>
Wed, 26 Sep 2007 20:18:41 +0000 (20:18 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 26 Sep 2007 20:18:41 +0000 (20:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20524 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/DockView.h

index cce14d0670a593aa614069bceeb0750f885e301b..7d2eb36c0ee0e10f59504c373075454c3b6e09fb 100644 (file)
@@ -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();