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

Method doSortWinCB

src/csvapplication.cpp:1955–1966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1953 app.sortWin->hide();
1954}
1955void CsvApplication::doSortWinCB(Fl_Widget *, long data) {
1956 if( data == TCRUNCHER_MYFLCHOICE_MAGICAL) {
1957 // pressed ENTER
1958 app.sortWin->dataExchange = 0;
1959 app.sortWin->hide();
1960 }
1961 if( data <= 0 ) {
1962 // ESC or red close button
1963 app.sortWin->dataExchange = -1;
1964 app.sortWin->hide();
1965 }
1966}
1967
1968
1969

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected