summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/export.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-09-08 21:29:10 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-09-08 21:29:10 +0000
commit36553c85069d88ba5e7b5fba7cd31cc4818a454d (patch)
treef9832fe22e771c66215647a4857ee68fa3f9300b /src/ui/dialog/export.cpp
parentupdate to trunk (diff)
parentAdd a check so objects removed from the document dont crash inkscape, happens... (diff)
downloadinkscape-36553c85069d88ba5e7b5fba7cd31cc4818a454d.tar.gz
inkscape-36553c85069d88ba5e7b5fba7cd31cc4818a454d.zip
update to trunk
(bzr r11950.1.138)
Diffstat (limited to 'src/ui/dialog/export.cpp')
-rw-r--r--src/ui/dialog/export.cpp2
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);