I fixed song not 'dirty' on most operations (close was not prompting to save).
A recent bug.
After careful study of recent changes to operations/undo/redo system,
(BTW thanks for that), I decided to do this simple fix:
At the end of Song::executeOperationGroup3() and
Song::revertOperationGroup3() I simply added:
if(!operations.empty())
'emit sigDirty()'
It works OK, and I think it's OK because it's in the last stage of the
operations (3rd stage non-realtime part).
My primary concern was timing:
That Robert's Auto-Save-Timer (TM) might come along and save an
incompletely altered song before the 3 operation stages were done.
So I stuck it at the end of stage 3.
Does it look OK?
Hopefully. Lemme know if any concerns about it.
Thanks.
Tim.
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Lmuse-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lmuse-developer