Skip to content
  • Harald Sitter's avatar
    users: delay result submission · 011a25bd
    Harald Sitter authored
    the user change application is blocking (because saving as a whole is
    blocking) BUT result submission doesn't need to be and indeed need not
    be because the applyjob is running as part of the save() call stack, and
    that will set needssave at the very end, effectively undermining any
    state management done as part of error handling.
    
    effectively this now means that save() sets needsSave=false and then on
    the next event loop run our error handling kicks in and reevaluates
    resolvePending on the qml side, potentially setting it true if necessary
    
    BUG: 432111
    
    
    (cherry picked from commit 9f162e23)
    011a25bd