[squeak-dev] The Inbox: ST80-ct.263.mcz

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Sat Nov 21 13:34:47 UTC 2020


By the way, why are these checks defined in #okToChange and not #okToClose? :-)


Best,

Christoph

<http://www.hpi.de/>
________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von commits at source.squeak.org <commits at source.squeak.org>
Gesendet: Samstag, 21. November 2020 14:33:52
An: squeak-dev at lists.squeakfoundation.org
Betreff: [squeak-dev] The Inbox: ST80-ct.263.mcz

A new version of ST80 was added to project The Inbox:
http://source.squeak.org/inbox/ST80-ct.263.mcz

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

Name: ST80-ct.263
Author: ct
Time: 21 November 2020, 2:33:51.363822 pm
UUID: f3315492-4d28-f24c-971e-260fb9e743dd
Ancestors: ST80-mt.262

Fixes confirmation dialog before closing an MVCProject, which should also show up when closing the current MVCProject. Kind of complements ST80-ct.250, but no strong dependency.

=============== Diff against ST80-mt.262 ===============

Item was changed:
  ----- Method: MVCProject>>okToChange (in category 'release') -----
  okToChange
         "If there is no open window, we are fine to close."

+        ^ (self world scheduledControllers size <= 1)
-        ^ (self parent ~~ Project current
-                or: [self world scheduledControllers size <= 1])
                 or: [super okToChange]!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20201121/7eac8f72/attachment-0001.html>


More information about the Squeak-dev mailing list