1
0
Fork 0
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:
jules 2013-03-15 19:36:28 +00:00
parent 7be8153f2d
commit ffd894089d
4 changed files with 15 additions and 8 deletions

View file

@ -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()