AlexandrePTJ / kemai

Kimai desktop client
MIT License
94 stars 25 forks source link

Preserve combo box values on model refresh #117

Closed virtulis closed 7 months ago

virtulis commented 7 months ago

Hello,

I understand a UI rewrite is underway :) but I started using Kimai with the develop version yesterday and really had to fix this by today :sweat_smile:. Not sure if it's a new regression but currently any refresh resets all combo boxes to blank, so this just carries the previously selected value over, if still present.

I have minimal experience with Qt (and may have missed a better way to do it), but hopefully this is simple enough to just work (it does for me).

Best regards, Danko

AlexandrePTJ commented 7 months ago

Thanks you for this fix !