Skip to content

Commit 5b062c3

Browse files
committed
Make no default
1 parent b007c73 commit 5b062c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EF Sqlite/Form1.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Public Class Form1
8181
MessageBox.Show($"Could not load as an image.{ex.Message}", "Error Loading Image", MessageBoxButtons.OK, MessageBoxIcon.Exclamation)
8282
End Try
8383
ElseIf dlg = DialogResult.Cancel Then
84-
If MessageBox.Show($"Clear Image?", "Unset Image", MessageBoxButtons.YesNo, MessageBoxIcon.Question) = DialogResult.Yes Then Return (Nothing, True)
84+
If MessageBox.Show($"Clear Image?", "Unset Image", MessageBoxButtons.YesNo, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2) = DialogResult.Yes Then Return (Nothing, True)
8585
End If
8686
Return (Nothing, False)
8787
End Function

0 commit comments

Comments
 (0)