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 committed Oct 18, 2024
1 parent b0cedbe commit f7968f5
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 f7968f5

Please sign in to comment.