mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-01 18:37:50 +02:00
[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:
@@ -301,6 +301,7 @@ PluginDeclaration::register_plugin ()
|
||||
if (Dispatcher::instance ()) {
|
||||
Dispatcher::instance ()->plugin_registered (this);
|
||||
initialize (Dispatcher::instance ());
|
||||
Dispatcher::instance ()->config_setup ();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user