From fb35b2588452711a462f2f66c89acbc8f6d03d2a Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 20 Mar 2018 12:36:39 +0000 Subject: [PATCH] Correct a WSPR-mode flaw in hideMenus(). Thanks to JH3XCU! git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8578 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 573b98e37..919666443 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -2275,13 +2275,11 @@ void MainWindow::hideMenus(bool checked) minimumSize().setWidth(770); } ui->menuBar->setVisible(!checked); - if(m_mode!="FreqCal") { + if(m_mode!="FreqCal" and m_mode!="WSPR") { ui->label_6->setVisible(!checked); ui->label_7->setVisible(!checked); ui->decodedTextLabel2->setVisible(!checked); -// ui->line_2->setVisible(!checked); } -// ui->line->setVisible(!checked); ui->decodedTextLabel->setVisible(!checked); ui->gridLayout_5->layout()->setSpacing(spacing); ui->horizontalLayout->layout()->setSpacing(spacing);