Skip to content

Commit

Permalink
exec_() is no longer supported in PyQt6
Browse files Browse the repository at this point in the history
  • Loading branch information
moetayuko committed Apr 16, 2023
1 parent 3bd6f9a commit f01059a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pix2tex/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def returnPrediction(self, result):
msg = QMessageBox()
msg.setWindowTitle(" ")
msg.setText("Prediction failed.")
msg.exec_()
msg.exec()

def displayPrediction(self, prediction=None):
if self.isProcessing:
Expand Down

0 comments on commit f01059a

Please sign in to comment.