Skip to content

Commit

Permalink
fix: Fix the issue of permissions not being able to take effect properly
Browse files Browse the repository at this point in the history
The permissions set need to be restarted in the document management system to take effect

Log: Correctly obtaining file permissions by refreshing file information

Bug: https://pms.uniontech.com/bug-view-259897.html
  • Loading branch information
yang233000 committed Jun 27, 2024
1 parent 782a19a commit c796c31
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1586,7 +1586,9 @@ void FileView::contextMenuEvent(QContextMenuEvent *event)

selectionModel()->select(index, QItemSelectionModel::Select);
}

auto info = model()->fileInfo(index);
if (info)
info->updateAttributes();
d->viewMenuHelper->showNormalMenu(index, model()->flags(index));
}
}
Expand Down

0 comments on commit c796c31

Please sign in to comment.