Sean,
I think I have this fixed.
Basically, _windowProperties and the _vergil* attributes should only be
set if the model is non-empty.
My way of detecting a non-empty model is to count the number of
Entities. "Empty" models have
zero Entities. There might be a better way. Models that have
Attributes such as _windowProperties
but have no Entities are considered empty.
Edward also noticed some issues with closing prompting for save,
hopefully my changes will fix this.
Let me know if there are problems.
_Christopher
On 8/20/12 10:38 AM, Christopher Brooks wrote:
This probably has to do with a change I made to fix a bug where the
window layout is not saved on close.
I'll take a look, though I'm in a meeting all day so probably won't
get much done with this today.
_Christopher
On 8/20/12 10:36 AM, Sean Riddle wrote:
Hi all,
I just noticed something new when I updated Kepler and wanted to see
if it was happening for others too. When I start Kepler and then
immediately close the canvas, it doesn't just close the window, it
asks whether you want to save. That shouldn't happen, right? I've
made a number of changes to my working copy, so it could just be
something I did, but I figured I should check.
- Sean
_______________________________________________
Kepler-dev mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
--
Christopher Brooks, PMP University of California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
ph: 510.643.9841 (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670
_______________________________________________
Kepler-dev mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev
--
Christopher Brooks, PMP University of California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
ph: 510.643.9841 (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670
_______________________________________________
Kepler-dev mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev