Skip to content

Commit

Permalink
[composer] Set min number of pages for spin box, to prevent 0 page co…
Browse files Browse the repository at this point in the history
…mpositions
  • Loading branch information
nyalldawson committed Feb 13, 2014
1 parent 020eb60 commit db62a6f
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/ui/qgscompositionwidgetbase.ui
Expand Up @@ -23,7 +23,16 @@
<property name="spacing">
<number>0</number>
</property>
<property name="margin">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
Expand Down Expand Up @@ -189,7 +198,11 @@
</widget>
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="mNumPagesSpinBox"/>
<widget class="QSpinBox" name="mNumPagesSpinBox">
<property name="minimum">
<number>1</number>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="textLabel7">
Expand Down

0 comments on commit db62a6f

Please sign in to comment.