• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Close box not showing as dirty when the doc says it's dirty
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Close box not showing as dirty when the doc says it's dirty


  • Subject: Close box not showing as dirty when the doc says it's dirty
  • From: Steve Mills <email@hidden>
  • Date: Tue, 05 Feb 2013 14:59:27 -0600

Do I need to do anything to force the close box to update its status from non dirty to dirty? Our document subclass overrides isDocumentEdited and is returning true, yet the close box appears clean. If I Close, isDocumentEdited again returns true and the save dlog appears. If I create a new window for the document, that 2nd window's close box appears as dirty. Same doc, 2 different windows, 2 different states. Color me confused.

We also have a NSWindowController subclass, but it's NOT overriding setDocumentEdited or anything like that.

--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Close box not showing as dirty when the doc says it's dirty
      • From: Markus Spoettl <email@hidden>
  • Prev by Date: Re: Do CALayer filters apply to non-image drawing?
  • Next by Date: Re: Close box not showing as dirty when the doc says it's dirty
  • Previous by thread: Re: Do CALayer filters apply to non-image drawing?
  • Next by thread: Re: Close box not showing as dirty when the doc says it's dirty
  • Index(es):
    • Date
    • Thread