Hi All! 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. I was given the task to implement this: https://bugs.freedesktop.org/show_bug.cgi?id=47011
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. 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.). Here is what I have done so far: https://gerrit.libreoffice.org/2506 Krisztian
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice