kopia lustrzana https://github.com/jamescoxon/dl-fldigi
Clear logbook fields with clear qso fields
Clear both qso fields & logbook fields when the clear button is pressed.pull/2/head
rodzic
eeb334c04f
commit
b931124059
|
|
@ -1394,10 +1394,12 @@ void qsoClear_cb(Fl_Widget *b, void *)
|
|||
if (progdefaults.NagMe) {
|
||||
if (oktoclear || fl_choice(_("Clear log fields?"), _("Cancel"), _("OK"), NULL) == 1) {
|
||||
clearQSO();
|
||||
clearRecord();
|
||||
oktoclear = true;
|
||||
}
|
||||
} else {
|
||||
clearQSO();
|
||||
clearRecord();
|
||||
oktoclear = true;
|
||||
}
|
||||
restoreFocus();
|
||||
|
|
|
|||
|
|
@ -396,8 +396,6 @@ int log_search_handler(int)
|
|||
default:
|
||||
return 0;
|
||||
}
|
||||
|
||||
inpSearchString->take_focus();
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
@ -408,10 +406,10 @@ void clearRecord() {
|
|||
inpCall_log->value ("");
|
||||
inpName_log->value ("");
|
||||
inpDate_log->value (tdy.szDate(2));
|
||||
inpTimeOn_log->value ("0000");
|
||||
inpTimeOff_log->value ("0000");
|
||||
inpRstR_log->value ("599");
|
||||
inpRstS_log->value ("599");
|
||||
inpTimeOn_log->value ("");
|
||||
inpTimeOff_log->value ("");
|
||||
inpRstR_log->value ("");
|
||||
inpRstS_log->value ("");
|
||||
inpFreq_log->value ("");
|
||||
inpMode_log->value ("");
|
||||
inpQth_log->value ("");
|
||||
|
|
@ -427,6 +425,7 @@ void clearRecord() {
|
|||
inpXchg2_log->value("");
|
||||
inpXchg3_log->value("");
|
||||
inpComment_log->value ("");
|
||||
inpSearchString->value ("");
|
||||
editGroup->show();
|
||||
}
|
||||
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue