mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
Do not replace textbox in Find/Replace dialog if no text is selected
See #2070
This commit is contained in:
parent
13321e3c1b
commit
6efbecd3cc
@ -1236,6 +1236,7 @@ public class Editor extends JFrame implements RunnerListener {
|
||||
if (find == null) {
|
||||
find = new FindReplace(Editor.this);
|
||||
}
|
||||
if (getSelectedText()!= null) find.setFindText( getSelectedText() );
|
||||
//new FindReplace(Editor.this).show();
|
||||
find.setVisible(true);
|
||||
//find.setVisible(true);
|
||||
|
Loading…
Reference in New Issue
Block a user