mirror of https://github.com/KLayout/klayout.git
Fixed a bug introduced with the plugin refactoring: some tool menu items were not functional.
This commit is contained in:
parent
a6552e1d34
commit
a588751c27
|
|
@ -5652,6 +5652,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
|
||||
|
||||
|
|
|
|||
|
|
@ -994,6 +994,7 @@ public:
|
|||
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 &);
|
||||
|
|
|
|||
Loading…
Reference in New Issue