mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-142128 When Preview tab is open, Find button navigates to the first found fragment
This commit is contained in:
@@ -669,15 +669,6 @@ public class FindDialog extends DialogWrapper {
|
||||
}
|
||||
|
||||
private void doOKAction(boolean findAll) {
|
||||
if (myResultsPreviewTable != null &&
|
||||
myContent.getSelectedIndex() == RESULTS_PREVIEW_TAB_INDEX &&
|
||||
myResultsPreviewTable.getSelectedRowCount() != 0 &&
|
||||
!myModel.isReplaceState()
|
||||
) {
|
||||
navigateToSelectedUsage(myResultsPreviewTable);
|
||||
return;
|
||||
}
|
||||
|
||||
FindModel validateModel = myModel.clone();
|
||||
applyTo(validateModel, findAll);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user