From 8cc735ed09d437d9b91a5dcc340a06620bc21e4f Mon Sep 17 00:00:00 2001 From: mzn Date: Fri, 14 Apr 2006 12:30:41 +0000 Subject: [PATCH] Fix for bug IPAL11368. --- src/VVTK/VVTK_MainWindow.cxx | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.39.2