Fix clicking on recent docs scrolling welcome screen
Before this commit clicking on any recent document or open file would cause the welcome screen to scroll right. This was was caused by the welcome screen scroller being disabled causing it to lose its position.
This commit fixes this so the welcome screen scroller is not disabled and its position is not changed when clicking on those options.
Also this commit puts opening documents inline with creating new documents since clicking "New File" on the welcome screen doesn't disable the scroller either.
Test Plan
Open already created documents in the "recent documents" tab or using "open file" on the welcome screen
Formalities Checklist
-
I confirmed this builds. -
I confirmed Krita ran and the relevant functions work. -
I tested the relevant unit tests and can confirm they are not broken. (If not possible, don't hesitate to ask for help!) -
I made sure my commits build individually and have good descriptions as per KDE guidelines. -
I made sure my code conforms to the standards set in the HACKING file. -
I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.