Use "Auto" value on cursor width spinbox

Fix for bug #12515.
This commit is contained in:
Daniel Ramoeller 2022-03-27 11:40:54 +02:00 committed by Jean-Marc Lasgouttes
parent 8e256fbf0f
commit 4dd1fbbce0

View File

@ -163,9 +163,6 @@
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label_3">
<property name="toolTip">
<string>Configure the width of the text cursor. Automatic zoom-controlled cursor width used when set to 0.</string>
</property>
<property name="text">
<string>Cursor width (&amp;pixels):</string>
</property>
@ -176,6 +173,12 @@
</item>
<item>
<widget class="QSpinBox" name="cursorWidthSB">
<property name="toolTip">
<string>Configure the width of the text cursor. &quot;Auto&quot; means that zoom-controlled width is used.</string>
</property>
<property name="specialValueText">
<string>Auto</string>
</property>
<property name="minimum">
<number>0</number>
</property>