From: mzn Date: Fri, 14 Apr 2006 12:30:41 +0000 (+0000) Subject: Fix for bug IPAL11368. X-Git-Tag: T3_2_0b1_pre1~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8cc735ed09d437d9b91a5dcc340a06620bc21e4f;p=modules%2Fvisu.git Fix for bug IPAL11368. --- diff --git a/src/VVTK/VVTK_MainWindow.cxx b/src/VVTK/VVTK_MainWindow.cxx index e292f1b6..1b3e755d 100644 --- a/src/VVTK/VVTK_MainWindow.cxx +++ b/src/VVTK/VVTK_MainWindow.cxx @@ -386,6 +386,9 @@ void VVTK_MainWindow1 ::OnSelectionModeSwitch(bool theIsSelectionOn) { + if ( theIsSelectionOn && !isVisible() ) + return; + Selection_Mode aSelectionMode = SelectionMode(); if(theIsSelectionOn && aSelectionMode != GaussPointSelection) SetSelectionMode(GaussPointSelection);