diff --git a/pvwidgets.py b/pvwidgets.py index 847e9e5..8e8718c 100644 --- a/pvwidgets.py +++ b/pvwidgets.py @@ -1580,7 +1580,7 @@ class CAQTableWidget(QTableWidget): time.sleep(self.set_delay) ##self.standby_value_button.setEnabled(False) #QApplication.sendPostedEvents() - QApplication.processEvents(QEventLoop.AllEvents, 1.0) + QApplication.processEvents(QEventLoop.AllEvents, 1) if status != self.cyca.ICAFE_NORMAL: _mess = ("The following devices reported an error " + @@ -1657,7 +1657,7 @@ class CAQTableWidget(QTableWidget): if status_list[i] != self.cyca.ICAFE_NORMAL: status = status_list[i] time.sleep(self.set_delay) - QApplication.processEvents(QEventLoop.AllEvents, 1.0) + QApplication.processEvents(QEventLoop.AllEvents, 1) if status != self.cyca.ICAFE_NORMAL: _mess = ("The following device(s) reported an error " +