Skip to content

Trigger save_window_state when closing to system tray

Guy Boldon requested to merge also-save-window-state-to-tray into main

New Feature

What does this MR do?

This change will save the window state on window-close, also when the "close to tray" setting is enabled. Previously the window state was only saved when that setting was disabled (as is the default plugin behavior). Better UX.

Related issues

Checklist

  • Application works as expected when running from source
  • There are dependency changes
  • Liquidctl device mock tests are successful (if applicable)
  • Any needed documentation changes have been made
  • This MR is ready to be merged

Merge request reports