FileBasedDocument : no resetChangedFlag method?


#1

hi

Sorry if I miss something obvious, but in fileBasedDocument there’s 2 “@see resetChangedFlag”.
It sounds its the method I need… but it isn’t in there.

I could use setChangedFlag, but I want to broadcast a change message.

what are my options?


#2

Well, setChangedFlag is the correct method to use, but it won’t broadcast a change if it doesn’t actually change anything… If you really need to send a change message, you can of course just call ChangeBroadcaster::sendChangeMessage directly.


#3

(BTW, thanks for mentioning the error in the docs - I’ll tidy that up…)