diff options
| author | Alvin Penner <penner@vaxxine.com> | 2015-02-25 17:11:02 +0000 |
|---|---|---|
| committer | apenner <penner@vaxxine.com> | 2015-02-25 17:11:02 +0000 |
| commit | 5088f2350311258798aeaf6fd7219518198ef93b (patch) | |
| tree | eb64ab994016b2bb880e0357cae4b2ddb2f1be71 /src/widgets/rect-toolbar.cpp | |
| parent | Removed reference to factory.h in the src/makefile_insert file that was (diff) | |
| download | inkscape-5088f2350311258798aeaf6fd7219518198ef93b.tar.gz inkscape-5088f2350311258798aeaf6fd7219518198ef93b.zip | |
load rectangle parameters as px. (Bug 1424798)
Fixed bugs:
- https://launchpad.net/bugs/1424798
(bzr r13943)
Diffstat (limited to 'src/widgets/rect-toolbar.cpp')
| -rw-r--r-- | src/widgets/rect-toolbar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/rect-toolbar.cpp b/src/widgets/rect-toolbar.cpp index 016aa4987..c2134b10c 100644 --- a/src/widgets/rect-toolbar.cpp +++ b/src/widgets/rect-toolbar.cpp @@ -307,7 +307,7 @@ void sp_rect_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GObje UnitTracker* tracker = new UnitTracker(Inkscape::Util::UNIT_TYPE_LINEAR); //tracker->addUnit( SP_UNIT_PERCENT, 0 ); // fixme: add % meaning per cent of the width/height - tracker->setActiveUnit( desktop->getNamedView()->display_units ); + tracker->setActiveUnit(unit_table.getUnit("px")); g_object_set_data( holder, "tracker", tracker ); /* W */ |
