mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +00:00
Cleaned up a few static analyser warnings.
This commit is contained in:
parent
7be8153f2d
commit
ffd894089d
4 changed files with 15 additions and 8 deletions
|
|
@ -400,8 +400,11 @@ void GenericCodeEditorComponent::showFindPanel()
|
|||
resized();
|
||||
}
|
||||
|
||||
findPanel->editor.grabKeyboardFocus();
|
||||
findPanel->editor.selectAll();
|
||||
if (findPanel != nullptr)
|
||||
{
|
||||
findPanel->editor.grabKeyboardFocus();
|
||||
findPanel->editor.selectAll();
|
||||
}
|
||||
}
|
||||
|
||||
void GenericCodeEditorComponent::hideFindPanel()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue