MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / filterOptions

Method filterOptions

src/settings.cpp:2340–2352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2338}
2339
2340FilterWidget::Options InterfaceSettings::filterOptions() const
2341{
2342 FilterWidget::Options o;
2343
2344 o.useRegex = get<bool>(m_Settings, "Settings", "filter_regex", false);
2345 o.regexCaseSensitive =
2346 get<bool>(m_Settings, "Settings", "regex_case_sensitive", false);
2347 o.regexExtended = get<bool>(m_Settings, "Settings", "regex_extended", false);
2348 o.scrollToSelection =
2349 get<bool>(m_Settings, "Settings", "filter_scroll_to_selection", false);
2350
2351 return o;
2352}
2353
2354void InterfaceSettings::setFilterOptions(const FilterWidget::Options& o)
2355{

Callers 1

readSettingsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected