diff options
Diffstat (limited to 'NxWidgets/nxwm/src/ccalibration.cxx')
-rw-r--r-- | NxWidgets/nxwm/src/ccalibration.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/NxWidgets/nxwm/src/ccalibration.cxx b/NxWidgets/nxwm/src/ccalibration.cxx index d93f56a47..6f5976100 100644 --- a/NxWidgets/nxwm/src/ccalibration.cxx +++ b/NxWidgets/nxwm/src/ccalibration.cxx @@ -220,13 +220,13 @@ void CCalibration::stop(void) void CCalibration::destroy(void) { - // Block any further window messages + // Make sure that the application is stopped (should already be stopped) - m_window->block(); + stop(); - // Make sure that the application is stopped + // Block any further window messages - stop(); + m_window->block(this); } /** |