[PATCH] Avoid repeated layout names

Giuseppe Bilotta giuseppe.bilotta at gmail.com
Fri Oct 31 14:31:25 PDT 2014


Multiple layouts had the same name="gridLayout_3". Fix by shifting all
the numbers up by 1.

Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
---
 qt-ui/configuredivecomputerdialog.ui | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/qt-ui/configuredivecomputerdialog.ui b/qt-ui/configuredivecomputerdialog.ui
index 6571837..f747330 100644
--- a/qt-ui/configuredivecomputerdialog.ui
+++ b/qt-ui/configuredivecomputerdialog.ui
@@ -1617,7 +1617,7 @@
            <attribute name="title">
             <string>Basic settings</string>
            </attribute>
-           <layout class="QGridLayout" name="gridLayout_3">
+           <layout class="QGridLayout" name="gridLayout_4">
             <item row="5" column="3">
              <widget class="QLabel" name="label_45">
               <property name="text">
@@ -1812,7 +1812,7 @@
            <attribute name="title">
             <string>Advanced Settings</string>
            </attribute>
-           <layout class="QGridLayout" name="gridLayout_4">
+           <layout class="QGridLayout" name="gridLayout_5">
             <item row="3" column="0" colspan="2">
              <widget class="QCheckBox" name="aGFSelectableCheckBox_3">
               <property name="text">
@@ -2078,7 +2078,7 @@
            <attribute name="title">
             <string>Gas settings</string>
            </attribute>
-           <layout class="QGridLayout" name="gridLayout_5">
+           <layout class="QGridLayout" name="gridLayout_6">
             <item row="0" column="0" colspan="2">
              <widget class="QTableWidget" name="ostcGasTable">
               <property name="sizePolicy">
-- 
2.1.2.766.gaa23a90



More information about the subsurface mailing list