summaryrefslogtreecommitdiffstats
path: root/qt-ui/configuredivecomputerdialog.ui
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-10-27 20:37:06 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-27 14:35:18 -0700
commitd835e6342d1e23ca06faa5f6b386cdce6de86869 (patch)
treee912c3786272b1d7263abe69ce9e36cf89ea46b7 /qt-ui/configuredivecomputerdialog.ui
parent8ba6736ca8e392024e88de150adc7a063c561dae (diff)
downloadsubsurface-d835e6342d1e23ca06faa5f6b386cdce6de86869.tar.gz
Set a max value for the custom text in OSTC3
The device supports a up to 60 chars custom text. This limits the LineEdit to that amount, so users see when they reach the max limit. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/configuredivecomputerdialog.ui')
-rw-r--r--qt-ui/configuredivecomputerdialog.ui3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/configuredivecomputerdialog.ui b/qt-ui/configuredivecomputerdialog.ui
index 1b3a781a5..17e83fdf0 100644
--- a/qt-ui/configuredivecomputerdialog.ui
+++ b/qt-ui/configuredivecomputerdialog.ui
@@ -264,6 +264,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="maxLength">
+ <number>60</number>
+ </property>
</widget>
</item>
<item row="1" column="3">