diff --git a/src/qt/qt_mainwindow.cpp b/src/qt/qt_mainwindow.cpp index 4ed4ea1ab..ece9a6982 100644 --- a/src/qt/qt_mainwindow.cpp +++ b/src/qt/qt_mainwindow.cpp @@ -419,6 +419,7 @@ MainWindow::MainWindow(QWidget *parent) : #ifdef _WIN32 ui->toolBar->setIconSize(QSize(16 * screen()->devicePixelRatio(), 16 * screen()->devicePixelRatio())); #endif + setContextMenuPolicy(Qt::PreventContextMenu); } void MainWindow::closeEvent(QCloseEvent *event) {