Skip to content

Only fire clipboard cut and copy events when there is a selection #106

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 6, 2015

Conversation

peyerluk
Copy link
Member

@peyerluk peyerluk commented Jun 6, 2015

For the clipboard events 'cut' and 'copy' it does not make
much sense to fire them if nothing is selected. So we check
if we have a selection before firing these events.

For the clipboard events 'cut' and 'copy' it does not make
much sense to fire them if nothing is selected. So we check
if we have a selection before firing these events.
@peyerluk peyerluk added the bug label Jun 6, 2015
@peyerluk peyerluk self-assigned this Jun 6, 2015
peyerluk added a commit that referenced this pull request Jun 6, 2015
Only fire clipboard cut and copy events when there is a selection
@peyerluk peyerluk merged commit 6cd8c52 into master Jun 6, 2015
@peyerluk peyerluk deleted the clipboard-events branch June 6, 2015 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant