Commit c9d60a81 authored by millerjv's avatar millerjv
Browse files

BUG: LightBox in the linked view mode was not doing anything. Set so that now...

BUG: LightBox in the linked view mode was not doing anything.  Set so that now the lightbox is not a linked operation.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@4341 3bd1e089-480b-0410-8dfb-8563597acbee
parent e1ba7637
......@@ -591,7 +591,7 @@ void vtkSlicerSliceControllerWidget::CreateWidget ( )
this->LightboxButton->GetMenu()->AddRadioButton ( "customized view");
this->LightboxButton->GetMenu()->AddSeparator ( );
this->LightboxButton->GetMenu()->AddCommand ("close");
this->LightboxButton->GetMenu()->SetItemStateToDisabled ( "customized view" );
//this->LightboxButton->GetMenu()->SetItemStateToDisabled ( "customized view" );
//--- Pop-up frame for custom NXM lightbox configuration
this->LightboxTopLevel = vtkKWTopLevel::New ( );
......@@ -1482,7 +1482,7 @@ void vtkSlicerSliceControllerWidget::ProcessWidgetEvents ( vtkObject *caller, un
//
if ( !strcmp ( this->LightboxButton->GetValue(), "1x1 view") )
{
if ( link && sgui )
if ( false && link && sgui )
{
// apply this reformat to all slice MRML
}
......@@ -1494,7 +1494,7 @@ void vtkSlicerSliceControllerWidget::ProcessWidgetEvents ( vtkObject *caller, un
}
else if ( !strcmp ( this->LightboxButton->GetValue(), "2x2 view") )
{
if ( link && sgui )
if ( false && link && sgui )
{
// apply this reformat to all slice MRMLs
}
......@@ -1506,7 +1506,7 @@ void vtkSlicerSliceControllerWidget::ProcessWidgetEvents ( vtkObject *caller, un
}
else if ( !strcmp ( this->LightboxButton->GetValue(), "3x3 view" ) )
{
if ( link && sgui )
if ( false && link && sgui )
{
// apply this reformat to all slice MRMLs
}
......@@ -1518,7 +1518,7 @@ void vtkSlicerSliceControllerWidget::ProcessWidgetEvents ( vtkObject *caller, un
}
else if ( !strcmp ( this->LightboxButton->GetValue (), "6x6 view") )
{
if ( link && sgui )
if ( false && link && sgui )
{
// apply this reformat to all slice MRMLs
}
......@@ -1539,7 +1539,7 @@ void vtkSlicerSliceControllerWidget::ProcessWidgetEvents ( vtkObject *caller, un
{
numHPanes = this->LightboxWidthEntry->GetValueAsInt();
numVPanes = this->LightboxHeightEntry->GetValueAsInt();
if ( link && sgui )
if ( false && link && sgui )
{
// apply this reformat to all slice MRMLs
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment