Skip to content

Make "Krita Default" the default input profile when settings are reset

Mike Will requested to merge myqwil/krita:input-default into master

When settings are reset such that there is no current input profile selected, "Krita Default" should be the initially selected profile.

In this scenario, Krita would normally select the first item in the list of input profiles, and up until recently, this approach was sufficient because "Krita Default" has always been the first item in the list, but that changed with the addition of the input profile "Clip Studio Paint Compatible".

Test Plan

  1. Before opening Krita, remove or rename the kritarc file
  2. Open Krita and go to Settings -> Configure Krita... -> Canvas Input Settings
  3. The current input profile should be "Krita Default", whereas before this commit, it would have been "Clip Studio Paint Compatible"

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.

Merge request reports