mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
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:
parent
32e777c786
commit
13aaaf3b2f
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user