summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qt-ui/profile/diveeventitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/profile/diveeventitem.cpp b/qt-ui/profile/diveeventitem.cpp
index b614e8301..732d2a344 100644
--- a/qt-ui/profile/diveeventitem.cpp
+++ b/qt-ui/profile/diveeventitem.cpp
@@ -127,7 +127,7 @@ bool DiveEventItem::shouldBeHidden()
*
* Don't bother showing them if they match the first gas already
*/
- if (!strcmp(event->name, "gaschange") && !event->time.seconds) {
+ if (!strcmp(event->name, "gaschange") && event->time.seconds <= 30) {
struct dive *dive = current_dive;
if (dive && get_cylinder_index(dive, event) == 0)
return true;