Plugin not found after switching layout
-
Hi,
I am using the plugin I provided the complete code here:
https://developers.maxon.net/forum/topic/12013/r21-geuserarea-in-docked-gedialog-behaves-differently/2The plugin simply creates a
CommandData
which launches aGeDialog
, which contains aGeUserArea
.
I have the standard layout active and dock the window between the object manager and the attribute manager. Then I save this layout as "Test".
I switch to the standard layout, then switch to the newly created Test layout.
The window reappears at its specific position between object manager and attribute manager, but it displays "Plugin not found". Still I have provided a RestoreLayout function, but this seems never to be called.I must be doing something wrong, or simply forgetting to do something to make it work ... but I just cannot seem to put my finger on it.
Any help would be appreciated. -
The ID used with
GeDialog::Open()
andRestoreLayout()
is typically the plugin ID of theCommandData
plugin.See e.g. activeobject.cpp
-
@s_bach said in Plugin not found after switching layout:
The ID used with
GeDialog::Open()
andRestoreLayout()
is typically the plugin ID of theCommandData
plugin.See e.g. activeobject.cpp
Thanks.
It had to be something so simple I kept missing when reviewing the code.