| 4280 | } |
| 4281 | |
| 4282 | void |
| 4283 | LayoutViewBase::do_prop_changed () |
| 4284 | { |
| 4285 | if (m_visibility_changed) { |
| 4286 | |
| 4287 | // change visibility and redraw exposed layers |
| 4288 | std::vector<bool> visibility; |
| 4289 | for (lay::LayerPropertiesConstIterator l = begin_layers (); !l.at_end (); ++l) { |
| 4290 | if (! l->has_children ()) { |
| 4291 | visibility.push_back (l->visible (true /*real*/)); |
| 4292 | } |
| 4293 | } |
| 4294 | mp_canvas->change_visibility (visibility); |
| 4295 | |
| 4296 | m_visibility_changed = false; |
| 4297 | |
| 4298 | } |
| 4299 | |
| 4300 | update_content (); |
| 4301 | } |
| 4302 | |
| 4303 | void |
| 4304 | LayoutViewBase::set_view_ops () |
nothing calls this directly
no test coverage detected