mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
Fixed placement of find & replace dialog
This commit is contained in:
parent
b4ff39144c
commit
38f868af5b
@ -1286,6 +1286,7 @@ public class Editor extends JFrame implements RunnerListener {
|
||||
}
|
||||
if (getSelectedText()!= null) find.setFindText( getSelectedText() );
|
||||
//new FindReplace(Editor.this).show();
|
||||
find.setLocationRelativeTo(Editor.this);
|
||||
find.setVisible(true);
|
||||
//find.setVisible(true);
|
||||
}
|
||||
@ -1320,6 +1321,7 @@ public class Editor extends JFrame implements RunnerListener {
|
||||
if (find == null) {
|
||||
find = new FindReplace(Editor.this);
|
||||
}
|
||||
find.setLocationRelativeTo(Editor.this);
|
||||
find.setFindText( getSelectedText() );
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user