Please sign in to comment.
Call saveSettings from QgsCompoundColorWidget::hideEvent
We currently call saveSettings from the QgsCompoundColorWidget destructor. Since we restore the custom colors when the constructor runs, any changes made will be lost if a second QgsCompoundColorWidget is created before the first is destroyed. This adds a hideEvent handler, and saves the settings from there. Fixes #37749.
- Loading branch information
Showing with 11 additions and 1 deletion.