more bug fixes...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20524 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-09-26 20:18:41 +00:00
parent 804b85af43
commit c1540f8d92

View 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();