Hi All!<div><br></div><div>I'd like to request some help with implementing a feature. I'm a bsc student working as a trainee and I'm still very unfamiliar with the LO codebase.</div><div>I was given the task to implement this: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=47011">https://bugs.freedesktop.org/show_bug.cgi?id=47011</a></div>
<div><br></div><div>I have added a checkbox in Tools -> Options -> Load/Save -> General with the text "Save document when saving AutoRecovery information", copying how other checkboxes work. I triple checked everything, but this checkbox still won't save its state.</div>
<div><br></div><div>In the code where AutoRecovery does the recovery saving, I have added an if, so if the value set by the checkbox mentioned above is true, it would call store() on the file, and save it. I would think I'd also need to do something else here that lets the UI know that the file has been saved (eg. the floppy disk icon gets greyed out), but I have no idea where should I begin with that (I haven't been able to find the code that handles regular saving.).</div>
<div><br></div><div>Here is what I have done so far: <a href="https://gerrit.libreoffice.org/2506">https://gerrit.libreoffice.org/2506</a></div><div><br></div><div>Krisztian</div>