| 5911 | } |
| 5912 | |
| 5913 | void |
| 5914 | LayoutViewBase::ensure_layer_selected () |
| 5915 | { |
| 5916 | if (current_layer () == lay::LayerPropertiesConstIterator ()) { |
| 5917 | const lay::LayerPropertiesList &lp = get_properties (); |
| 5918 | lay::LayerPropertiesConstIterator li = lp.begin_const_recursive (); |
| 5919 | while (! li.at_end () && li->has_children ()) { |
| 5920 | ++li; |
| 5921 | } |
| 5922 | if (! li.at_end ()) { |
| 5923 | set_current_layer (li); |
| 5924 | } |
| 5925 | } |
| 5926 | } |
| 5927 | |
| 5928 | void |
| 5929 | LayoutViewBase::do_set_no_stipples (bool /*no_stipples*/) |
nothing calls this directly
no test coverage detected