]> cloud.milkyroute.net Git - dolphin.git/commit
Fix dismiss button in selection mode paste bar
authorFelix Ernst <fe.a.ernst@gmail.com>
Thu, 13 Oct 2022 20:13:00 +0000 (22:13 +0200)
committerFelix Ernst <felixernst@kde.org>
Sat, 15 Oct 2022 08:44:41 +0000 (08:44 +0000)
commit75679f628a4052908112846b1e66bb06d90c32eb
tree437921e9430b292fbb6b145683bb4dd0c04e9baa
parent5be69f0daba256cd3faad0aaa16dee8447a76af4
Fix dismiss button in selection mode paste bar

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.
src/selectionmode/bottombarcontentscontainer.cpp
src/selectionmode/bottombarcontentscontainer.h