From: Joel Holdsworth Date: Tue, 23 Apr 2013 22:22:46 +0000 (+0100) Subject: Added an accelerator for show/hide cursors X-Git-Tag: pulseview-0.1.0~21 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4166ed6c6648d1ed82cc48787aa717772a1e103f;p=pulseview.git Added an accelerator for show/hide cursors --- diff --git a/pv/mainwindow.cpp b/pv/mainwindow.cpp index 3326b9b1..150c2fcc 100644 --- a/pv/mainwindow.cpp +++ b/pv/mainwindow.cpp @@ -152,6 +152,7 @@ void MainWindow::setup_ui() _action_view_show_cursors = new QAction(this); _action_view_show_cursors->setCheckable(true); _action_view_show_cursors->setChecked(_view->cursors_shown()); + _action_view_show_cursors->setShortcut(QKeySequence(Qt::Key_C)); _action_view_show_cursors->setObjectName( QString::fromUtf8("actionViewShowCursors")); _action_view_show_cursors->setText(QApplication::translate(