summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/desktop/menubar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/desktop/menubar.cpp b/src/ui/desktop/menubar.cpp
index c222ff7b9..0e19807e6 100644
--- a/src/ui/desktop/menubar.cpp
+++ b/src/ui/desktop/menubar.cpp
@@ -541,7 +541,6 @@ build_menu(Gtk::MenuShell* menu, Inkscape::XML::Node* xml, Inkscape::UI::View::V
std::cerr << "build_menu: xml node has no name!" << std::endl;
}
}
- SP_ACTIVE_DESKTOP->_menu_update.connect(sigc::ptr_fun(&set_menuitems));
}
Gtk::MenuBar*
@@ -549,6 +548,7 @@ build_menubar(Inkscape::UI::View::View* view)
{
Gtk::MenuBar* menubar = Gtk::manage(new Gtk::MenuBar());
build_menu(menubar, INKSCAPE.get_menus()->parent(), view);
+ SP_ACTIVE_DESKTOP->_menu_update.connect(sigc::ptr_fun(&set_menuitems));
return menubar;
}