Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update viewer on delete an item
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_Displayer.h
diff --git
a/src/XGUI/XGUI_Displayer.h
b/src/XGUI/XGUI_Displayer.h
index df1237c43087d75b2510b67e3a3b8a8e758a0e49..45ea2eecbc7ba1f6dcafc3a6055b9537f84bca61 100644
(file)
--- a/
src/XGUI/XGUI_Displayer.h
+++ b/
src/XGUI/XGUI_Displayer.h
@@
-277,7
+277,10
@@
public:
bool enableUpdateViewer(const bool isEnabled);
/// Returns true if the viewer update is not blocked
bool enableUpdateViewer(const bool isEnabled);
/// Returns true if the viewer update is not blocked
- bool isUpdateEnabled() const;
+ bool isUpdateEnabled() const
+ {
+ return myViewerBlockedRecursiveCount == 0;
+ }
/// Updates the viewer
void updateViewer() const;
/// Updates the viewer
void updateViewer() const;
@@
-443,8
+446,6
@@
private:
private:
XGUI_SelectionActivate* selectionActivate() const;
private:
XGUI_SelectionActivate* selectionActivate() const;
- AISObjectPtr createPresentation(const ResultPtr& theResult) const;
-
private:
XGUI_Workshop* myWorkshop; ///< Reference to workshop
#ifdef TINSPECTOR
private:
XGUI_Workshop* myWorkshop; ///< Reference to workshop
#ifdef TINSPECTOR