Fix dismiss button in selection mode paste bar
Steps to reproduce the bug/fix:
- Have nothing selected
- Activate the "Copy…" action -> Selection mode is activated
- Select something and press "Copy" on the selection mode bottom bar -> A bar about pasting appears at the bottom
- Press the "Dismiss" button on the bottom bar -> with this commit, the bar is dismissed. without this commit, it isn't.
This one liner changes the signal that is emitted when the
"Dismiss" button is pressed on the Paste bottom bar in selection
mode. Before this commit, the leaveSelectionModeRequested()
signal was used but it had no effect because technically the
selection mode isn't active anymore when the paste bar is shown.
Everything works as expected if instead
barVisibilityChangeRequested()
is emitted.