From 77b2b4a5a74f0a252e94c6f14408ec8841234f17 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 26 Aug 2015 15:20:58 +0300 Subject: [PATCH] "Wait cursor" during object showing --- src/LightApp/LightApp_ShowHideOp.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/LightApp/LightApp_ShowHideOp.cxx b/src/LightApp/LightApp_ShowHideOp.cxx index 2b8ae4ad5..9c886bb79 100644 --- a/src/LightApp/LightApp_ShowHideOp.cxx +++ b/src/LightApp/LightApp_ShowHideOp.cxx @@ -29,6 +29,8 @@ #include "LightApp_SelectionMgr.h" #include "LightApp_Selection.h" +#include "SUIT_OverrideCursor.h" + #ifndef DISABLE_SALOMEOBJECT #include #endif @@ -151,6 +153,7 @@ void LightApp_ShowHideOp::startOperation() objEntries.append( study->referencedToEntry( *it ) ); if( myActionType==DISPLAY || myActionType==DISPLAY_ONLY ) { + SUIT_OverrideCursor wc; d->Display( objEntries, false, 0 ); mgr->setSelectedObjects(selObjs); } -- 2.39.2