From de4af50246eb9fe107e29bfd1b03a9463ef14ea4 Mon Sep 17 00:00:00 2001 From: Thomas VINCENT Date: Fri, 14 Jun 2024 15:50:11 +0200 Subject: [PATCH] Process Qt events after deletion of the plot widget --- src/silx/gui/plot/test/testPixelIntensityHistoAction.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/silx/gui/plot/test/testPixelIntensityHistoAction.py b/src/silx/gui/plot/test/testPixelIntensityHistoAction.py index 7fd87e887a..00374fa266 100644 --- a/src/silx/gui/plot/test/testPixelIntensityHistoAction.py +++ b/src/silx/gui/plot/test/testPixelIntensityHistoAction.py @@ -1,6 +1,6 @@ # /*########################################################################## # -# Copyright (c) 2016-2018 European Synchrotron Radiation Facility +# Copyright (c) 2016-2024 European Synchrotron Radiation Facility # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -47,6 +47,7 @@ def setUp(self): def tearDown(self): del self.plotImage + self.qapp.processEvents() super(TestPixelIntensitiesHisto, self).tearDown() def testShowAndHide(self):