Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit debff57

Browse files
committed
Fixing ScintillaNet bug in replace dialog
1 parent 66919da commit debff57

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ScintillaNet/2.6/ScintillaNET/FindReplace/FindReplaceDialog.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ private void AddReplacMru()
7070
_bindingSourceReplace.ResetBindings(false);
7171
cboFindR.SelectedIndex = 0;
7272
cboFindF.SelectedIndex = 0;
73-
cboReplace.SelectedIndex = 0;
73+
74+
if(cboReplace.Items.Count >0)
75+
cboReplace.SelectedIndex = 0;
7476
}
7577

7678

0 commit comments

Comments
 (0)