MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / updateCheckButtonCB

Method updateCheckButtonCB

src/csvapplication.cpp:293–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291 }
292}
293void CsvApplication::updateCheckButtonCB(Fl_Widget *w, void *) {
294 Fl_Check_Button *but = (Fl_Check_Button*)w;
295 if( but->value() ) {
296 app.setUpdateCheck(true);
297 preferences.set(TCRUNCHER_PREF_UPDATE_CHECK_ALLOWED, "yes");
298 } else {
299 app.setUpdateCheck(false);
300 preferences.set(TCRUNCHER_PREF_UPDATE_CHECK_ALLOWED, "no");
301 }
302}
303
304
305

Callers

nothing calls this directly

Calls 3

setUpdateCheckMethod · 0.80
setMethod · 0.80
valueMethod · 0.45

Tested by

no test coverage detected