Added code on /libs/ui/KisSessionResource.cpp
Now it saves the session with the authorProfile
Changed /libs/ui/KisViewManager.h
Now the following functions are public:
void changeAuthorProfile(const QString &profileName);
void slotUpdateAuthorProfileActions();