| 197 | } |
| 198 | |
| 199 | void QmitkSynchronizedWidgetConnector::DeregisterWidget() |
| 200 | { |
| 201 | m_ConnectionCounter--; |
| 202 | |
| 203 | // When no more widgets are synchronized anymore, turn on SelectAll to avoid losing |
| 204 | // nodes that are added until synchronization of a widget is turned on again. |
| 205 | if (m_ConnectionCounter == 0) |
| 206 | { |
| 207 | m_SelectAll = true; |
| 208 | } |
| 209 | } |