-// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023 CEA/DEN, EDF R&D, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
: SUIT_Selector( mgr, v ),
myViewer(v)
{
- if ( v )
+ if ( v ) {
connect( v, SIGNAL( legendSelected( const QString& ) ), this, SLOT( onSelectionChanged( const QString& ) ) );
connect( v, SIGNAL( clearSelected() ), this, SLOT( onClearSelected( ) ) );
+ }
}
/*!