Skip to content

Commit

Permalink
Display report zoom factor with one decimal space.
Browse files Browse the repository at this point in the history
The code actually allowed fractional scaling, but the display of the option didn't.
As a result the spin button was acting oddly.
This was discovered while looking into bug
https://bugs.gnucash.org/show_bug.cgi?id=797712 but this commit is not a fix for that bug.
  • Loading branch information
gjanssens committed May 2, 2020
1 parent b4177bc commit ca9d58b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gnucash/gtkbuilder/dialog-preferences.glade
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<!-- Generated with glade 3.22.2 -->
<interface>
<requires lib="gtk+" version="3.10"/>
<object class="GtkAdjustment" id="auto_decimal_places_adj">
Expand Down Expand Up @@ -105,7 +105,7 @@
<property name="default_height">400</property>
<property name="type_hint">normal</property>
<signal name="response" handler="gnc_preferences_response_cb" swapped="no"/>
<child>
<child type="titlebar">
<placeholder/>
</child>
<child internal-child="vbox">
Expand Down Expand Up @@ -2854,6 +2854,7 @@ many months before the current month:</property>
<property name="halign">start</property>
<property name="margin_left">12</property>
<property name="adjustment">default_zoom_adj</property>
<property name="digits">1</property>
</object>
<packing>
<property name="expand">False</property>
Expand Down

0 comments on commit ca9d58b

Please sign in to comment.