| 2243 | //----------------------------------------------------------------------------- |
| 2244 | |
| 2245 | void GuiEditCtrl::setCurrentAddSet(GuiControl *ctrl, bool doclearSelection) |
| 2246 | { |
| 2247 | if (ctrl != mCurrentAddSet) |
| 2248 | { |
| 2249 | if(doclearSelection) |
| 2250 | clearSelection(); |
| 2251 | |
| 2252 | mCurrentAddSet = ctrl; |
| 2253 | } |
| 2254 | } |
| 2255 | |
| 2256 | //----------------------------------------------------------------------------- |
| 2257 |