From: Peter Kümmel Date: Sun, 29 Oct 2006 10:42:21 +0000 (+0000) Subject: fix bug: table toolbar icons in menubar, hiding will be handled by the next patch X-Git-Tag: 1.6.10~12154 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=13aaaf3b2f885a73c6626a78884ca787c2402b3d;p=features.git fix bug: table toolbar icons in menubar, hiding will be handled by the next patch git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15597 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/frontends/Toolbars.C b/src/frontends/Toolbars.C index bf2a58fa18..44798a69b8 100644 --- a/src/frontends/Toolbars.C +++ b/src/frontends/Toolbars.C @@ -122,11 +122,6 @@ void Toolbars::add(ToolbarBackend::Toolbar const & tbb) ToolbarPtr tb_ptr = owner_.makeToolbar(tbb); toolbars_[tbb.name] = tb_ptr; - if (tbb.flags & ToolbarBackend::ON) - tb_ptr->show(false); - else - tb_ptr->hide(false); - if (tb_ptr->layout()) layout_ = tb_ptr->layout(); }