10000 Backport "Merge PR #5773: FIX(client): Prefer selected tree item for context menu creation" to 1.4.x by Krzmbrzl · Pull Request #5778 · mumble-voip/mumble · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
< 10000 div hidden="hidden" data-view-component="true" class="js-stale-session-flash stale-session-flash flash flash-warn flash-full"> Dismiss alert

Backport "Merge PR #5773: FIX(client): Prefer selected tree item for context menu creation" to 1.4.x #5778

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
Aug 10, 2022

Conversation

Krzmbrzl
Copy link
Member

Backport

This will backport the following commits from master to 1.4.x:

Questions ?

Please refer to the Backport tool documentation

Combines copied code for user, listener and channel context menu creation.
Creates a unified method returning a std::tuple of ClientUser* and Channel*.
Note that these might contain nullptr.

(cherry picked from commit 9097b5a)
A previous oversight in 4f5089f let the previously selected context
menu items take precedence over the currently selected tree item.

This commit introduces the necessary nullptr check to make sure that the
previous context menu item is only used as fallback, if the lookup of the
selected item fails.

Fixes mumble-voip#3090

(cherry picked from commit 4d5d08c)
@Krzmbrzl Krzmbrzl merged commit bb4394b into mumble-voip:1.4.x Aug 10, 2022
@Krzmbrzl Krzmbrzl deleted the backport/1.4.x/pr-5773 branch November 9, 2022 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0