Skip to content

Commit

Permalink
db_manager: add tooltip to default value field when editing table fie…
Browse files Browse the repository at this point in the history
…ld properties (fixes #13856)
  • Loading branch information
jef-n committed Mar 8, 2018
1 parent ed03913 commit 333f2c3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions python/plugins/db_manager/ui/DlgFieldProperties.ui
Expand Up @@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>261</width>
<width>354</width>
<height>247</height>
</rect>
</property>
Expand Down Expand Up @@ -67,12 +67,15 @@
<item row="4" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Default value</string>
<string>Default value expression</string>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QLineEdit" name="editDefault">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Properly quoted PostgreSQL expression (e.g. &lt;code&gt;4&lt;/code&gt;, &lt;code&gt;'text'&lt;/code&gt; or &lt;code&gt;nextval('foo_id_seq')&lt;/code&gt;&lt;br/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string notr="true"/>
</property>
Expand Down

0 comments on commit 333f2c3

Please sign in to comment.