84 |
if (preferences.bandseditbox == 0) |
if (preferences.bandseditbox == 0) |
85 |
{ |
{ |
86 |
bandindex = gtk_combo_box_get_active (GTK_COMBO_BOX(bandoptionmenu)); |
bandindex = gtk_combo_box_get_active (GTK_COMBO_BOX(bandoptionmenu)); |
87 |
qso[BAND] = lookup_band (bandsplit[bandindex]); |
qso[BAND] = lookup_band (bandindex); |
88 |
} |
} |
89 |
else |
else |
90 |
qso[BAND] = gtk_editable_get_chars (GTK_EDITABLE (bandentry), 0, -1); |
qso[BAND] = gtk_editable_get_chars (GTK_EDITABLE (bandentry), 0, -1); |
91 |
if (preferences.modeseditbox == 0) |
if (preferences.modeseditbox == 0) |
92 |
{ |
{ |
93 |
modeindex = gtk_combo_box_get_active (GTK_COMBO_BOX(modeoptionmenu)); |
modeindex = gtk_combo_box_get_active (GTK_COMBO_BOX(modeoptionmenu)); |
94 |
qso[MODE] = lookup_mode (modesplit[modeindex]); |
qso[MODE] = lookup_mode (modeindex); |
95 |
} |
} |
96 |
else |
else |
97 |
qso[MODE] = gtk_editable_get_chars (GTK_EDITABLE (modeentry), 0, -1); |
qso[MODE] = gtk_editable_get_chars (GTK_EDITABLE (modeentry), 0, -1); |
380 |
else |
else |
381 |
{ |
{ |
382 |
bandindex = gtk_combo_box_get_active (GTK_COMBO_BOX(bandoptionmenu)); |
bandindex = gtk_combo_box_get_active (GTK_COMBO_BOX(bandoptionmenu)); |
383 |
qso[BAND] = lookup_band (bandsplit[bandindex]); |
qso[BAND] = lookup_band (bandindex); |
384 |
} |
} |
385 |
|
|
386 |
if (preferences.modeseditbox == 1) |
if (preferences.modeseditbox == 1) |
390 |
else |
else |
391 |
{ |
{ |
392 |
modeindex = gtk_combo_box_get_active (GTK_COMBO_BOX(modeoptionmenu)); |
modeindex = gtk_combo_box_get_active (GTK_COMBO_BOX(modeoptionmenu)); |
393 |
qso[MODE] = lookup_mode (modesplit[modeindex]); |
qso[MODE] = lookup_mode (modeindex); |
394 |
} |
} |
395 |
|
|
396 |
powerhbox = lookup_widget (mainwindow, "powerhbox"); |
powerhbox = lookup_widget (mainwindow, "powerhbox"); |