Skip to content

Commit

Permalink
Ensure sharee suggestions popup does not appear on top of sharee fiel…
Browse files Browse the repository at this point in the history
…d context menu

Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra authored and mgallien committed Nov 18, 2024
1 parent 91f3833 commit 3f34805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/filedetails/ShareeSearchField.qml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ TextField {
readonly property double iconsScaleFactor: 0.6

function triggerSuggestionsVisibility() {
shareeListView.count > 0 ? suggestionsPopup.open() : suggestionsPopup.close();
!contextMenu.opened && shareeListView.count > 0 ? suggestionsPopup.open() : suggestionsPopup.close();
}

placeholderText: enabled ? qsTr("Search for users or groups…") : qsTr("Sharing is not available for this folder")
Expand Down

0 comments on commit 3f34805

Please sign in to comment.