mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-14 19:06:34 +00:00
Revert "ttree_view_node: bind label selection event to toggle if label is not present"
This reverts commit 5f67eee678e082b75aa67b83952572db8a096827. This commit caused problems with toggling the list folded or unfolded. Will readd once a better solution is found
This commit is contained in:
parent
34838f3819
commit
edbd84d0b6
@ -84,11 +84,6 @@ ttree_view_node::ttree_view_node(
|
||||
&grid_, "tree_view_node_label", false, false);
|
||||
|
||||
label_ = dynamic_cast<tselectable_*>(widget);
|
||||
|
||||
if(!label_) {
|
||||
label_ = dynamic_cast<tselectable_*>(toggle_widget);
|
||||
}
|
||||
|
||||
if(label_) {
|
||||
widget->connect_signal<event::LEFT_BUTTON_CLICK>(
|
||||
boost::bind(
|
||||
|
Loading…
x
Reference in New Issue
Block a user