| 322 | } |
| 323 | |
| 324 | void |
| 325 | Editables::clear_transient_selection () |
| 326 | { |
| 327 | bool had_transient_selection = false; |
| 328 | for (iterator e = begin (); e != end (); ++e) { |
| 329 | if (e->has_transient_selection ()) { |
| 330 | had_transient_selection = true; |
| 331 | } |
| 332 | e->clear_transient_selection (); |
| 333 | } |
| 334 | |
| 335 | // send a signal to the observers |
| 336 | if (had_transient_selection) { |
| 337 | signal_transient_selection_changed (); |
| 338 | } |
| 339 | } |
| 340 | |
| 341 | void |
| 342 | Editables::transient_to_selection () |
no test coverage detected