- connect_to_study: to connect to the study opened at a data server
- activate viewer: to activate viewer if given type
// update object browser
updateObjectBrowser();
}
+ else if ( message.toLower().startsWith( "activate_viewer" ) ) {
+ QString vtype = message.split( sectionSeparator ).last();
+ if ( !vtype.isEmpty() )
+ getViewManager( vtype, true );
+ }
else {
QStringList data = message.split( sectionSeparator );
if ( data.count() > 1 ) {
if ( a )
a->setEnabled( false );
}
+ else if ( message.toLower() == "connect_to_study" ) {
+ onLoadDoc();
+ }
LightApp_Application::onDesktopMessage( message );
}