Skip to content

Commit

Permalink
fix: [menu] only one action in send to
Browse files Browse the repository at this point in the history
[menu] only one action in send to

Log: [menu] only one action in send to
Bug: https://pms.uniontech.com/bug-view-247351.html
  • Loading branch information
pppanghu77 authored and max-lvs committed Apr 9, 2024
1 parent 92162aa commit 369baea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void CooperationMenuScene::updateState(QMenu *parent)
{
if (!d->isEmptyArea) {
auto actions = parent->actions();
actions.removeOne(d->predicateAction[kFileTransfer]);
parent->removeAction(d->predicateAction[kFileTransfer]);

for (auto act : actions) {
if (act->isSeparator())
Expand Down

0 comments on commit 369baea

Please sign in to comment.