Skip to content

Commit

Permalink
fix gui2::ttoogle_panel
Browse files Browse the repository at this point in the history
previously toggle panels did not did work if you clicked to a label or a
image inside the toggle panel. (you had to click 'dirctly' to the toggle
panel in order to work properly)
  • Loading branch information
gfgtdf committed Jun 21, 2015
1 parent 548e44f commit e8140d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/widgets/toggle_panel.cpp
Expand Up @@ -48,12 +48,13 @@ ttoggle_panel::ttoggle_panel()
&ttoggle_panel::signal_handler_mouse_enter, this, _2, _3));
connect_signal<event::MOUSE_LEAVE>(boost::bind(
&ttoggle_panel::signal_handler_mouse_leave, this, _2, _3));

#if 0
connect_signal<event::LEFT_BUTTON_CLICK>(
boost::bind(&ttoggle_panel::signal_handler_pre_left_button_click,
this,
_2),
event::tdispatcher::back_pre_child);
#endif
connect_signal<event::LEFT_BUTTON_CLICK>(boost::bind(
&ttoggle_panel::signal_handler_left_button_click, this, _2, _3));
connect_signal<event::LEFT_BUTTON_CLICK>(
Expand Down

0 comments on commit e8140d8

Please sign in to comment.