Solved Plugin not found after switching layout

Hi,
I am using the plugin I provided the complete code here:
https://plugincafe.maxon.net/topic/12013/r21-geuserarea-in-docked-gedialog-behaves-differently/2

The plugin simply creates a CommandData which launches a GeDialog, which contains a GeUserArea.
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() and RestoreLayout() is typically the plugin ID of the CommandData plugin.

See e.g. activeobject.cpp

The ID used with GeDialog::Open() and RestoreLayout() is typically the plugin ID of the CommandData plugin.

See e.g. activeobject.cpp

@s_bach said in Plugin not found after switching layout:

The ID used with GeDialog::Open() and RestoreLayout() is typically the plugin ID of the CommandData plugin.

See e.g. activeobject.cpp

Thanks.
It had to be something so simple I kept missing when reviewing the code.