mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
Fix tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9033 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
4e0607242f
commit
2cd0b94b86
@ -248,7 +248,8 @@ void GToolbar::add(FuncRequest const & func, string const & tooltip)
|
||||
// toolitem later.
|
||||
toolbutton->set_data(gToolData,
|
||||
reinterpret_cast<void*>(&const_cast<FuncRequest &>(func)));
|
||||
tooltips_.set_tip(*toolbutton, tip, tip);
|
||||
|
||||
toolbutton->set_tooltip(tooltips_,tip);
|
||||
toolbutton->signal_clicked().connect(sigc::bind(sigc::mem_fun(*this,
|
||||
>oolbar::clicked), FuncRequest(func)));
|
||||
toolbar_.append(*toolbutton);
|
||||
|
Loading…
Reference in New Issue
Block a user