Op 17-9-2011 12:58, v...@lyx.org schreef:
Author: vfr
Date: Sat Sep 17 12:58:01 2011
New Revision: 39694
URL: http://www.lyx.org/trac/changeset/39694

Log:
Update the toolbars when the GuiView is shown

This will disable the layout box if no document is open, and it will set the 
correct state of the toolbar toggling buttons.

Modified:
    lyx-devel/trunk/src/frontends/qt4/GuiView.cpp

Modified: lyx-devel/trunk/src/frontends/qt4/GuiView.cpp
==============================================================================
--- lyx-devel/trunk/src/frontends/qt4/GuiView.cpp       Fri Sep 16 17:01:12 
2011        (r39693)
+++ lyx-devel/trunk/src/frontends/qt4/GuiView.cpp       Sat Sep 17 12:58:01 
2011        (r39694)
@@ -801,6 +801,7 @@
                // No work area, switch to the background widget.
                d.setBackground();

+       updateToolbars();
        QMainWindow::showEvent(e);
  }


For branch ?

Vincent

Reply via email to