diff --git a/src/lay/lay/layMainWindow.cc b/src/lay/lay/layMainWindow.cc index 601abceaf0..da9aed4601 100644 --- a/src/lay/lay/layMainWindow.cc +++ b/src/lay/lay/layMainWindow.cc @@ -5647,6 +5647,14 @@ PluginRootToMainWindow::select_mode (int mode) } } +void +PluginRootToMainWindow::menu_activated (const std::string &symbol) +{ + if (mp_main_window.get ()) { + mp_main_window->menu_activated (symbol); + } +} + // ------------------------------------------------------------ // Implementation of the "help about" dialog diff --git a/src/lay/lay/layMainWindow.h b/src/lay/lay/layMainWindow.h index 244fa2ec04..ae3671d1a2 100644 --- a/src/lay/lay/layMainWindow.h +++ b/src/lay/lay/layMainWindow.h @@ -994,6 +994,7 @@ class LAY_PUBLIC PluginRootToMainWindow virtual void plugin_registered (lay::PluginDeclaration *cls); virtual void plugin_removed (lay::PluginDeclaration *cls); virtual void select_mode (int mode); + virtual void menu_activated (const std::string &symbol); private: PluginRootToMainWindow (const PluginRootToMainWindow &);