path: root/src/gui/doc/snippets/textdocument-selections/mainwindow.h
diff options
authorFabian Kosmale <>2020-09-24 17:23:55 +0200
committerFabian Kosmale <>2020-09-28 09:11:16 +0200
commit1e883cf9b56376084f3329811aa91f4887ef6fcb (patch)
treec12a32fcc3cea219abd1bb152ef108f686a03eb1 /src/gui/doc/snippets/textdocument-selections/mainwindow.h
parentde52ad0a0f31654ff86e77fc4545335e9651d3f2 (diff)
Prevent endless markDirtyAndNotifyObservers <-> notify loopHEADdev
Before we had the option of eager evaluation, we were able to use the dirty flag to detect whether we are recursing. However, eager properties will lead to a evaluateIfDirtyAndReturnTrueIfValueChanged call, and that in turn will clear the dirty flag. Introduce a new member to detect that situation, and set the bindings error state to BindingLoop if we detect that kind of loop. Change-Id: If40b93221848bd9e9422502318d992fad95b0b74 Reviewed-by: Lars Knoll <>
Diffstat (limited to 'src/gui/doc/snippets/textdocument-selections/mainwindow.h')
0 files changed, 0 insertions, 0 deletions