diff options
author | Anton Lundin <glance@acc.umu.se> | 2014-10-27 20:37:06 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-10-27 14:35:18 -0700 |
commit | d835e6342d1e23ca06faa5f6b386cdce6de86869 (patch) | |
tree | e912c3786272b1d7263abe69ce9e36cf89ea46b7 /qt-ui | |
parent | 8ba6736ca8e392024e88de150adc7a063c561dae (diff) | |
download | subsurface-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')
-rw-r--r-- | qt-ui/configuredivecomputerdialog.ui | 3 |
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"> |