summaryrefslogtreecommitdiffstats
path: root/clients/tde/src/part/scope/part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clients/tde/src/part/scope/part.cpp')
-rw-r--r--clients/tde/src/part/scope/part.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clients/tde/src/part/scope/part.cpp b/clients/tde/src/part/scope/part.cpp
index a909397..fed1726 100644
--- a/clients/tde/src/part/scope/part.cpp
+++ b/clients/tde/src/part/scope/part.cpp
@@ -1972,7 +1972,9 @@ void ScopePart::processTriggerButtons() {
}
for (int i=0; i<m_maxNumberOfTraces;i++) {
- m_traceControlWidgetList[i]->setTriggerChannel(i == (m_triggerChannel-1));
+ if (m_traceControlWidgetList[i]) {
+ m_traceControlWidgetList[i]->setTriggerChannel(i == (m_triggerChannel-1));
+ }
}
}