diff options
| author | Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> | 2019-04-26 04:10:54 +0000 |
|---|---|---|
| committer | Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> | 2019-04-30 12:01:19 +0000 |
| commit | 9db06f0ff1f297754e328eb5909e98792091b6ec (patch) | |
| tree | 5e66aba0e03b3c6677f0220f30ff7a1f9cf217f9 /src/util | |
| parent | Simplify UI for LPE add (diff) | |
| download | inkscape-9db06f0ff1f297754e328eb5909e98792091b6ec.tar.gz inkscape-9db06f0ff1f297754e328eb5909e98792091b6ec.zip | |
Make display unit change roll out to toolbars
Add exception for measure tool, which uses preferences
Fixes https://gitlab.com/inkscape/inbox/issues/393
Partial fix: https://gitlab.com/inkscape/inkscape/issues/208
Diffstat (limited to 'src/util')
| -rw-r--r-- | src/util/units.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/units.h b/src/util/units.h index 2b7f8674c..48478c77c 100644 --- a/src/util/units.h +++ b/src/util/units.h @@ -22,6 +22,8 @@ #ifndef DOXYGEN_SHOULD_SKIP_THIS +#define DEFAULT_UNIT_NAME "mm"; + namespace std { template <> struct hash<Glib::ustring> : public std::unary_function<Glib::ustring, std::size_t> { |
