! * Deselects the \c QGraphicsItem \c item in \c WorksheetView. * The deselection in \c ProjectExplorer is forwarded to \c Worksheet * and is finally handled here. */
| 1587 | * and is finally handled here. |
| 1588 | */ |
| 1589 | void WorksheetView::deselectItem(QGraphicsItem* item) { |
| 1590 | m_suppressSelectionChangedEvent = true; |
| 1591 | item->setSelected(false); |
| 1592 | m_selectedItems.removeOne(item); |
| 1593 | handleCartesianPlotActions(); |
| 1594 | m_suppressSelectionChangedEvent = false; |
| 1595 | } |
| 1596 | |
| 1597 | /*! |
| 1598 | * Called on selection changes in the view. |
nothing calls this directly
no test coverage detected