Skip to content

Commit

Permalink
use MessageBoxDefaultButton in DataRayOCX32
Browse files Browse the repository at this point in the history
The Forms.MessageBoxButtons.OK argument did not match a valid signature for MessageBox.Show()
  • Loading branch information
jborbely committed Nov 6, 2023
1 parent 4ad6867 commit a71b448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msl/equipment/resources/dataray/datarayocx_32.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ def wait_to_configure(self):
self.Text, # the text in the titlebar
Forms.MessageBoxButtons.OK, # buttons
Forms.MessageBoxIcon.Information, # icon
Forms.MessageBoxButtons.OK, # default button
Forms.MessageBoxDefaultButton.Button1, # default button
Forms.MessageBoxOptions.ServiceNotification, # bring the popup window to the front
)

Expand Down

0 comments on commit a71b448

Please sign in to comment.