We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62ec69b commit a253093Copy full SHA for a253093
src/PreferencesView.hpp
@@ -321,8 +321,11 @@ namespace Gorfector
321
ADW_SPIN_ROW(m_PngCompressionLevel), m_PngWriterStateComponent->GetCompressionLevel());
322
adw_spin_row_set_value(ADW_SPIN_ROW(m_JpegQuality), m_JpegWriterStateComponent->GetQuality());
323
324
- adw_switch_row_set_active(ADW_SWITCH_ROW(m_DumpSaneOptions), m_DeviceSelectorState->IsDumpSaneEnabled());
+ if (m_DumpSaneOptions != nullptr)
325
+ {
326
+ adw_switch_row_set_active(
327
+ ADW_SWITCH_ROW(m_DumpSaneOptions), m_DeviceSelectorState->IsDumpSaneEnabled());
328
+ }
329
}
330
};
-
331
0 commit comments