Issue 860: "Unsaved" marker bug in Preview

Reported by Michael Reisecker, Sep 2, 2020

Steps to reproduce the problem:
1. Open GUI values in Preview
2. Open a new tab with file from file system
3. Make changes to GUI file

Expected result:
GUI file gets marked as modified
Actual result:
new tab gets marked as modified

The asterisk juggling should be rewritten to a proper flag.

Comment 1 by Michael Reisecker, Jan 18, 2021

Status: Started

Comment 2 by Michael Reisecker, Jan 18, 2021

Fixed in commit b3e99c9. The actual bug was a bit silly (a lambda 
used a count() function instead of a momentary count), but the 
cleanup I thought beforehand would be necessary has been done 
regardless, see the commit message for details.

Since there are surprisingly many combinations to think of here 
please take a moment to verify.

Comment 3 by Michael Reisecker, Jan 30, 2021

Seems to work fine
Status: Fixed

Created: 1 year 18 days ago by Michael Reisecker

Updated: 7 months 21 days ago

Status: Fixed