mirror of https://github.com/KLayout/klayout.git
[consider merging] Bugfix on Plugin registration
This bug happened when a plugin package was installed. In this case, the plugin was installed dynamically. The effect was for example that the grid in a view became invisible. Problem was, that the plugin registration re-generated all plugins from the view, but did not reconfigure them. Hence the grid had the default setting which was invisible grid.
This commit is contained in:
parent
9e0d1d7ea7
commit
88178fabd9
|
|
@ -301,6 +301,7 @@ PluginDeclaration::register_plugin ()
|
|||
if (Dispatcher::instance ()) {
|
||||
Dispatcher::instance ()->plugin_registered (this);
|
||||
initialize (Dispatcher::instance ());
|
||||
Dispatcher::instance ()->config_setup ();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue