| 696 | } |
| 697 | |
| 698 | void DrawingProgramSelection::deselect_all() { |
| 699 | check_add_stroke_color_change_undo(); |
| 700 | |
| 701 | if(is_something_selected()) { |
| 702 | commit_transform_selection(); |
| 703 | for(auto& obj : selectedSet) |
| 704 | drawP.drawCache.add_component(obj); |
| 705 | reset_all(); |
| 706 | } |
| 707 | } |
| 708 | |
| 709 | void DrawingProgramSelection::push_selection_to_front() { |
| 710 | check_add_stroke_color_change_undo(); |
no test coverage detected