From 4166ed6c6648d1ed82cc48787aa717772a1e103f Mon Sep 17 00:00:00 2001 From: Joel Holdsworth Date: Tue, 23 Apr 2013 23:22:46 +0100 Subject: [PATCH] Added an accelerator for show/hide cursors --- pv/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) 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( -- 2.30.2