Skip to content

Commit

Permalink
clang
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Deleze committed Jun 26, 2023
1 parent 40b3e9d commit 6b7bc84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webots/gui/WbView3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1570,8 +1570,8 @@ void WbView3D::mousePressEvent(QMouseEvent *event) {
return;


// Fix an issue on macOS where the context menu was not closed by a click.
#ifdef __APPLE__
// Fix an issue on macOS where the context menu was not closed by a click.
delete mParentWidget->findChild<QMenu*>("ContextMenu");
#endif

Expand Down

0 comments on commit 6b7bc84

Please sign in to comment.