mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-02 17:46:22 +03:00
OCC22273 Message_ProgressSentry with NULL handle progress cause exception
This commit is contained in:
parent
87c58d4f03
commit
8a2427055a
@ -64,5 +64,5 @@ inline Standard_Boolean Message_ProgressSentry::More () const
|
||||
|
||||
inline void Message_ProgressSentry::Show () const
|
||||
{
|
||||
if ( myProgress ) myProgress->Show();
|
||||
if ( ! myProgress.IsNull() ) myProgress->Show();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user