Skip to content

Commit

Permalink
qt: reset pin-controls on settings dialog cancel
Browse files Browse the repository at this point in the history
fixes #27773
  • Loading branch information
jagannatharjun authored and robUx4 committed Feb 2, 2023
1 parent 8866e7c commit f791cbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/gui/qt/dialogs/preferences/simple_preferences.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,7 @@ SPrefsPanel::SPrefsPanel( qt_intf_t *_p_intf, QWidget *_parent,


CONFIG_BOOL( "qt-pin-controls", pinVideoControlsCheckbox );
m_resetters.push_back(std::make_unique<PropertyResetter>(ui.pinVideoControlsCheckbox, "checked"));
QObject::connect( ui.pinVideoControlsCheckbox, &QCheckBox::stateChanged, p_intf->p_mi, &MainCtx::setPinVideoControls );

ui.colorSchemeComboBox->setModel( p_intf->p_mi->getColorScheme() );
Expand Down

0 comments on commit f791cbe

Please sign in to comment.