File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
SerialPrograms/Source/NintendoSwitch/Framework/UI Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -132,10 +132,12 @@ CommandRow::CommandRow(
132132 m_overlay_text, &QCheckBox::checkStateChanged,
133133 this , [this ](Qt::CheckState state){ m_session.set_enabled_text (state == Qt::Checked); }
134134 );
135- connect (
136- m_overlay_images, &QCheckBox::checkStateChanged,
137- this , [this ](Qt::CheckState state){ m_session.set_enabled_images (state == Qt::Checked); }
138- );
135+ if (PreloadSettings::instance ().DEVELOPER_MODE ){
136+ connect (
137+ m_overlay_images, &QCheckBox::checkStateChanged,
138+ this , [this ](Qt::CheckState state){ m_session.set_enabled_images (state == Qt::Checked); }
139+ );
140+ }
139141 connect (
140142 m_overlay_log, &QCheckBox::checkStateChanged,
141143 this , [this ](Qt::CheckState state){ m_session.set_enabled_log (state == Qt::Checked); }
You can’t perform that action at this time.
0 commit comments