mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-18 01:52:05 -05:00
Display default_frequency (14.076 MHz) at startup, rather than
18446744073709551615 Hz. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6069 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
4a38e03020
commit
caa51f4999
@ -1169,7 +1169,12 @@ void MainWindow::displayDialFrequency ()
|
||||
}
|
||||
|
||||
update_dynamic_property (ui->labDialFreq, "oob", !valid);
|
||||
ui->labDialFreq->setText (Radio::pretty_frequency_MHz_string (m_dialFreq));
|
||||
if(m_dialFreq==18446744073709551615u) {
|
||||
ui->labDialFreq->setText (Radio::pretty_frequency_MHz_string (default_frequency));
|
||||
} else {
|
||||
ui->labDialFreq->setText (Radio::pretty_frequency_MHz_string (m_dialFreq));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::statusChanged()
|
||||
|
@ -573,7 +573,7 @@ QLabel[oob="true"] {
|
||||
<item row="0" column="3" rowspan="3">
|
||||
<widget class="QStackedWidget" name="controls_stack_widget">
|
||||
<property name="currentIndex">
|
||||
<number>1</number>
|
||||
<number>0</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="page">
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_8">
|
||||
|
Loading…
Reference in New Issue
Block a user