diff options
| author | Matthew Petroff <matthew@mpetroff.net> | 2013-09-01 16:46:33 +0000 |
|---|---|---|
| committer | Matthew Petroff <matthew@mpetroff.net> | 2013-09-01 16:46:33 +0000 |
| commit | c9e56074607678b3c11e381b2462acf66b147789 (patch) | |
| tree | 4ee42a24001832fa783ceed8bc6f7eee706d1b73 /src/ui/dialog/export.cpp | |
| parent | Update the generate_POTFILES.sh script and POTFILES.in (diff) | |
| download | inkscape-c9e56074607678b3c11e381b2462acf66b147789.tar.gz inkscape-c9e56074607678b3c11e381b2462acf66b147789.zip | |
Fix PNG export with non-px default unit [Bug #1215104].
(bzr r12495)
Diffstat (limited to 'src/ui/dialog/export.cpp')
| -rw-r--r-- | src/ui/dialog/export.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/export.cpp b/src/ui/dialog/export.cpp index 2c92608d7..0b20c08a2 100644 --- a/src/ui/dialog/export.cpp +++ b/src/ui/dialog/export.cpp @@ -201,11 +201,11 @@ Export::Export (void) : earlier than that */ unit_selector = new Inkscape::UI::Widget::UnitMenu(); unit_selector->setUnitType(Inkscape::Util::UNIT_TYPE_LINEAR); - unitChangedConn = unit_selector->signal_changed().connect(sigc::mem_fun(*this, &Export::onUnitChanged)); SPDesktop *desktop = SP_ACTIVE_DESKTOP; if (desktop) unit_selector->setUnit(sp_desktop_namedview(desktop)->doc_units->abbr); + unitChangedConn = unit_selector->signal_changed().connect(sigc::mem_fun(*this, &Export::onUnitChanged)); unitbox.pack_end(*unit_selector, false, false, 0); unitbox.pack_end(units_label, false, false, 3); |
