X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.cpp;h=86a015533f824cb8483e7ef7b456d080266d9ebc;hp=205c95ca95a765670d5386e16345ef176dcdf804;hb=d375140b2e760226ff5f0d8aafc0386c0010644b;hpb=f7449c50675c7e9cc152bb367b3850f3c6310228 diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index 205c95ca..86a01553 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -188,6 +188,7 @@ shared_ptr MainWindow::add_view(const QString &title, dock_main->setCentralWidget(v.get()); dock->setWidget(dock_main); + dock->setContextMenuPolicy(Qt::PreventContextMenu); dock->setFeatures(QDockWidget::DockWidgetMovable | QDockWidget::DockWidgetFloatable | QDockWidget::DockWidgetClosable);