The Trunk: Tools-ct.924.mcz

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

The Trunk: Tools-ct.924.mcz

Marcel Taeumel uploaded a new version of Tools to project The Trunk:

==================== Summary ====================

Name: Tools-ct.924
Author: ct
Time: 7 December 2019, 5:03:02.396431 pm
UUID: 0db76606-63d7-4a4a-94fd-99fe4a088304
Ancestors: Tools-mt.922

Fix a bug ProcessBrowser >> #selectedClass in case of no context selection

=============== Diff against Tools-mt.922 ===============

Item was changed:
  ----- Method: ProcessBrowser>>selectedClass (in category 'accessing') -----
  "Answer the class in which the currently selected context's method was  
  ^ selectedClass
+ ifNil: [
+ selectedContext ifNil: [^ nil].
+ selectedClass := selectedContext receiver
- ifNil: [selectedClass := selectedContext receiver
  ifNil: [selectedSelector := selectedContext method selector.
    selectedContext method methodClass]
  ifNotNil: [selectedContext methodClass]]!