equal
deleted
inserted
replaced
1265 (self enabled and:[something ~= self selection]) ifTrue:[ |
1265 (self enabled and:[something ~= self selection]) ifTrue:[ |
1266 self setSelection:something withRedraw:true. |
1266 self setSelection:something withRedraw:true. |
1267 self selectionChanged |
1267 self selectionChanged |
1268 ] |
1268 ] |
1269 |
1269 |
1270 |
|
1271 |
|
1272 ! |
1270 ! |
1273 |
1271 |
1274 selectionChanged |
1272 selectionChanged |
1275 "called whenever the selection changed |
1273 "called whenever the selection changed |
1276 " |
1274 " |
2321 |
2319 |
2322 self withSelectionHiddenDo:[undoHistory undoLast:1]. |
2320 self withSelectionHiddenDo:[undoHistory undoLast:1]. |
2323 |
2321 |
2324 oldSel notNil ifTrue:[ |
2322 oldSel notNil ifTrue:[ |
2325 oldSel do:[:id||v| |
2323 oldSel do:[:id||v| |
2326 (v := self findViewWithId:id) notNil ifTrue:[ |
2324 (v := self findViewWithId:id) notNil ifTrue:[newSel add:v] |
2327 newSel add:v |
|
2328 ] |
|
2329 ]. |
2325 ]. |
2330 self select:newSel. |
2326 self select:newSel. |
2331 ] |
2327 ] |
2332 ]. |
2328 ]. |
2333 ! ! |
2329 ! ! |