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 <gla...@acc.umu.se>
---
 qt-ui/configuredivecomputerdialog.ui | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/qt-ui/configuredivecomputerdialog.ui 
b/qt-ui/configuredivecomputerdialog.ui
index 1b3a781..17e83fd 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">
-- 
1.9.1

_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to