diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-09-18 18:53:30 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2019-09-19 21:05:29 +0000 |
| commit | ee9ddd39016ba1ae333b9e6246b8dda6ee03fca0 (patch) | |
| tree | a68d16e7818b5c9f5d4491f3cd4d7371408faa57 /src/ui | |
| parent | sink with master and cleanup (diff) | |
| download | inkscape-ee9ddd39016ba1ae333b9e6246b8dda6ee03fca0.tar.gz inkscape-ee9ddd39016ba1ae333b9e6246b8dda6ee03fca0.zip | |
Improvements from Nathanl
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/desktop/menubar.cpp | 2 |
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; } |
