diff --git a/sleepyhead/Graphs/gFlagsLine.cpp b/sleepyhead/Graphs/gFlagsLine.cpp
index 20de6464..154a1290 100644
--- a/sleepyhead/Graphs/gFlagsLine.cpp
+++ b/sleepyhead/Graphs/gFlagsLine.cpp
@@ -147,7 +147,7 @@ void gFlagsGroup::SetDay(Day *d)
if (m_empty) {
if (d) {
- m_empty = !d->channelExists(CPAP_Pressure);
+ m_empty = !(d->channelExists(CPAP_Pressure) || d->channelExists(CPAP_IPAP) || d->channelExists(CPAP_EPAP));
}
}
diff --git a/sleepyhead/mainwindow.cpp b/sleepyhead/mainwindow.cpp
index ab96bfb7..02b352ec 100644
--- a/sleepyhead/mainwindow.cpp
+++ b/sleepyhead/mainwindow.cpp
@@ -265,7 +265,7 @@ MainWindow::MainWindow(QWidget *parent) :
restoreGeometry(settings.value("MainWindow/geometry").toByteArray());
daily = new Daily(ui->tabWidget, nullptr);
- ui->tabWidget->insertTab(1, daily, STR_TR_Daily);
+ ui->tabWidget->insertTab(2, daily, STR_TR_Daily);
// Start with the Summary Tab
diff --git a/sleepyhead/mainwindow.ui b/sleepyhead/mainwindow.ui
index e624d5fc..d2c19353 100644
--- a/sleepyhead/mainwindow.ui
+++ b/sleepyhead/mainwindow.ui
@@ -1498,7 +1498,7 @@ QToolBox::tab:selected {
0
0
180
- 598
+ 596
@@ -1912,7 +1912,7 @@ border: 2px solid #56789a; border-radius: 30px;
0
0
180
- 598
+ 596
@@ -3060,7 +3060,7 @@ border-radius: 10px;
0
0
180
- 598
+ 596
@@ -3122,7 +3122,7 @@ border-radius: 10px;
0
0
975
- 21
+ 22
@@ -3162,9 +3162,9 @@ border-radius: 10px;
-
+
- F9
+ F8
@@ -3508,7 +3508,7 @@ border-radius: 10px;
Daily Calendar
- F10
+ F9