mirror of
https://github.com/coteditor/CotEditor.git
synced 2024-09-11 11:25:57 +03:00
Fix showing find panel on "Use Selection" actions (fix #365)
This commit is contained in:
parent
9342c9a9b8
commit
f0d7d75dcf
@ -16,6 +16,11 @@ Change Log
|
||||
- Add “Cyrillic (Windows)” to the encoding list.
|
||||
|
||||
|
||||
### Fixes
|
||||
|
||||
- Fix an issue where unwanted find panel was shown when perform “Use Selection for Find” or “Use Selection for Replace” action.
|
||||
|
||||
|
||||
|
||||
2.1.1
|
||||
--------------------------
|
||||
|
@ -383,7 +383,6 @@ static NSString *const kEscapeCharacter = @"\\";
|
||||
|
||||
if (selectedString) {
|
||||
[self setFindString:selectedString];
|
||||
[self showFindPanel:sender];
|
||||
} else {
|
||||
NSBeep();
|
||||
}
|
||||
@ -399,7 +398,6 @@ static NSString *const kEscapeCharacter = @"\\";
|
||||
|
||||
if (selectedString) {
|
||||
[self setReplacementString:selectedString];
|
||||
[self showFindPanel:sender];
|
||||
} else {
|
||||
NSBeep();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user