Skip to content

Commit

Permalink
Process Qt events after deletion of the plot widget
Browse files Browse the repository at this point in the history
  • Loading branch information
t20100 committed Jun 14, 2024
1 parent 23a74a3 commit de4af50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/silx/gui/plot/test/testPixelIntensityHistoAction.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -47,6 +47,7 @@ def setUp(self):

def tearDown(self):
del self.plotImage
self.qapp.processEvents()
super(TestPixelIntensitiesHisto, self).tearDown()

def testShowAndHide(self):
Expand Down

0 comments on commit de4af50

Please sign in to comment.