X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fmainwindow.cpp;h=3a775edde104d2500f00397730e63c8844de74d3;hb=449aec3cba1974d34a9c9a66b3cf8fc5208b62f4;hp=797944b9bea2295a50b00d0d374e3b8ee6c0f186;hpb=e3c79b07a04a6621e7f3d8d36c1afac5ef7d0db5;p=pulseview.git diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index 797944b..3a775ed 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -453,6 +453,10 @@ void MainWindow::setup_ui() setMenuBar(menu_bar); QMetaObject::connectSlotsByName(this); + // Also add all actions to the main window for always-enabled hotkeys + for (QAction* action : menu_bar->actions()) + this->addAction(action); + // Setup the toolbar main_bar_ = new toolbars::MainBar(session_, *this);