Fix run actions when running qidle with pyqt5