I did a little further experiment, and in fact this draws me to the conclusion that fixing the toolbar yourself is the wrong solution here. I changed the save icon toolbar (for layout in the case) via the Options->Toolbars: and removed the enable condition. OK'd and then quit virtuoso and restarted. After that, the save icon is always enabled, even if the cellView is unmodified. The problem is that if you open a cellview, make a change, save, undo that change and then try to save again, it still won't save because the underlying function doing the save (within leHiSave) doesn't do the save because it doesn't think the cellVIew is modified. The issue is really that the handling of the modification status isn't quite correct at the moment when using undo past save. That's what needs to be fixed. The best workaround is still to use a bindkey as in the article you referred to, as that will call dbSave() to do the same which forces a save whether it's needed or not. Note if you make the change to the toolbar above, you can either use the "Reset" button in the bottom left to reset it, or delete the ~/.cadence/dfII/toolbars/byApplication/Layout.overlay file (if that was the toolbar you modified). Regards, Andrew
↧