Peter Kümmel wrote:
Abdelrazak Younes wrote:
Peter,

You've done a good job there thanks!

On request though: Could you please load the TabBar (if there's more
than document that is) by default when a new Window is opened?

Thanks in advance,
Abdel.



I see, this is a bug.

Now I'm here: see png.

Which one?


But how do I make the menu->view items clickable?
After the first new tab (CTRL-N) they are clickable,
updateMenubar() does not help.

Maybe you should invert the two update calls, updateTab() must be before in order to ensure that there is a valid BufferView at the time of the updateMenu() call:

Index: frontends/qt4/GuiView.C
===================================================================
--- frontends/qt4/GuiView.C     (revision 15641)
+++ frontends/qt4/GuiView.C     (working copy)
@@ -151,7 +151,9 @@
                this, SLOT(update_view_state_qt()));

        // make sure the buttons are disabled if needed
 +       updateTab();
 +       updateMenubar();
        updateToolbars();
        updateLayoutChoice();
        updateMenubar();
 }



Reply via email to