mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-21 01:24:21 +00:00
Cleaned up some compiler warnings. Jucer development.
This commit is contained in:
parent
e6a5f1501f
commit
b9443c8ba3
88 changed files with 862 additions and 688 deletions
|
|
@ -1631,10 +1631,10 @@ void TextEditor::copy()
|
|||
{
|
||||
if (passwordCharacter == 0)
|
||||
{
|
||||
const String selection (getHighlightedText());
|
||||
const String selectedText (getHighlightedText());
|
||||
|
||||
if (selection.isNotEmpty())
|
||||
SystemClipboard::copyTextToClipboard (selection);
|
||||
if (selectedText.isNotEmpty())
|
||||
SystemClipboard::copyTextToClipboard (selectedText);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue