diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2011-04-17 13:31:32 +0000 |
|---|---|---|
| committer | Johan Engelen <goejendaagh@zonnet.nl> | 2011-04-17 13:31:32 +0000 |
| commit | 6d0280ef0e02c447a9dfb5c91a1a506cee2333b6 (patch) | |
| tree | b8c946bc0ca09f9f1cc345a9e202d427f6e50b94 /src/ui/widget/preferences-widget.cpp | |
| parent | add new preference widget for a number with a unit. (diff) | |
| download | inkscape-6d0280ef0e02c447a9dfb5c91a1a506cee2333b6.tar.gz inkscape-6d0280ef0e02c447a9dfb5c91a1a506cee2333b6.zip | |
fix duplicate units in Preferences > Steps
(bzr r10178)
Diffstat (limited to 'src/ui/widget/preferences-widget.cpp')
| -rw-r--r-- | src/ui/widget/preferences-widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget/preferences-widget.cpp b/src/ui/widget/preferences-widget.cpp index 9cf80153a..68faa3c66 100644 --- a/src/ui/widget/preferences-widget.cpp +++ b/src/ui/widget/preferences-widget.cpp @@ -262,7 +262,7 @@ void PrefSpinUnit::init(Glib::ustring const &prefs_path, _prefs_path = prefs_path; _is_percent = (unit_type == UNIT_TYPE_DIMENSIONLESS); - setUnitType(unit_type); + resetUnitType(unit_type); setUnit(default_unit); setRange (lower, upper); /// @fixme this disregards changes of units setIncrements (step_increment, 0); |
