| 2078 | } |
| 2079 | |
| 2080 | void |
| 2081 | LayoutViewBase::set_layer_node_expanded (unsigned int index, const LayerPropertiesConstIterator &iter, bool ex) |
| 2082 | { |
| 2083 | if (ex != iter->expanded ()) { |
| 2084 | |
| 2085 | LayerPropertiesIterator non_const_iter (get_properties (index), iter.uint ()); |
| 2086 | non_const_iter->set_expanded (ex); |
| 2087 | |
| 2088 | if (index == current_layer_list ()) { |
| 2089 | layer_list_changed_event (8 /*expanded state needs update*/); |
| 2090 | } |
| 2091 | |
| 2092 | } |
| 2093 | } |
| 2094 | |
| 2095 | void |
| 2096 | LayoutViewBase::set_properties (unsigned int index, const LayerPropertiesConstIterator &iter, const LayerProperties &props) |
no test coverage detected