summaryrefslogtreecommitdiffstats
path: root/clients/tde/src/part/scope
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-04-28 12:55:08 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-04-28 12:55:08 -0500
commitbd0400a096268138037b3cfc129c298c961fc63d (patch)
treea25466faf5d4978056a700fe3ead37d132e005d3 /clients/tde/src/part/scope
parent9c98267db370d13a01d6135046061ce8a06dba07 (diff)
downloadulab-bd0400a096268138037b3cfc129c298c961fc63d.tar.gz
ulab-bd0400a096268138037b3cfc129c298c961fc63d.zip
Fix scope part crashes
Add server-provided caption support Properly brand client application
Diffstat (limited to 'clients/tde/src/part/scope')
-rw-r--r--clients/tde/src/part/scope/layout.ui16
-rw-r--r--clients/tde/src/part/scope/part.cpp4
2 files changed, 19 insertions, 1 deletions
diff --git a/clients/tde/src/part/scope/layout.ui b/clients/tde/src/part/scope/layout.ui
index f680d86..2a94997 100644
--- a/clients/tde/src/part/scope/layout.ui
+++ b/clients/tde/src/part/scope/layout.ui
@@ -163,6 +163,14 @@
<property name="title">
<string>Notes</string>
</property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>3</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>1</verstretch>
+ </sizepolicy>
+ </property>
<grid>
<widget class="KTextEdit" row="0" column="0" colspan="1">
<property name="name">
@@ -171,6 +179,14 @@
<property name="text">
<string></string>
</property>
+ <property name="sizePolicy">
+ <sizepolicy>
+ <hsizetype>5</hsizetype>
+ <vsizetype>3</vsizetype>
+ <horstretch>0</horstretch>
+ <verstretch>1</verstretch>
+ </sizepolicy>
+ </property>
</widget>
</grid>
</widget>
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));
+ }
}
}