Enabling double clicks in the campaing list again.

Fixes bug #14497.
This commit is contained in:
Mark de Wever 2009-10-14 18:49:13 +00:00
parent ef5162244a
commit f6327b041e
2 changed files with 4 additions and 1 deletions

View file

@ -16,7 +16,6 @@ The release team should empty this file after each release.
The code for the event handling has been rewritten, which might cause some new
glitches. Known issues are:
Some mouse clicks are also send to the parent window
Double clicks in the campaign list don't always work
***

View file

@ -49,6 +49,10 @@ ttoggle_panel::ttoggle_panel()
connect_signal<event::LEFT_BUTTON_DOUBLE_CLICK>(boost::bind(
&ttoggle_panel::signal_handler_left_button_double_click
, this, _2, _3));
connect_signal<event::LEFT_BUTTON_DOUBLE_CLICK>(boost::bind(
&ttoggle_panel::signal_handler_left_button_double_click
, this, _2, _3)
, event::tdispatcher::back_post_child);
}
void ttoggle_panel::set_child_members(const std::map<std::string /* widget id */, string_map>& data)