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
This commit is contained in:
Peter Kümmel 2006-10-29 10:42:21 +00:00
parent 32e777c786
commit 13aaaf3b2f

View File

@ -122,11 +122,6 @@ void Toolbars::add(ToolbarBackend::Toolbar const & tbb)
ToolbarPtr tb_ptr = owner_.makeToolbar(tbb); ToolbarPtr tb_ptr = owner_.makeToolbar(tbb);
toolbars_[tbb.name] = tb_ptr; toolbars_[tbb.name] = tb_ptr;
if (tbb.flags & ToolbarBackend::ON)
tb_ptr->show(false);
else
tb_ptr->hide(false);
if (tb_ptr->layout()) if (tb_ptr->layout())
layout_ = tb_ptr->layout(); layout_ = tb_ptr->layout();
} }