From 3a2bd8f7cab945bfac7d9b8faf9250d4d66e9264 Mon Sep 17 00:00:00 2001 From: Shane Synan Date: Thu, 31 May 2018 22:26:43 -0500 Subject: [PATCH] client: Remap "Reload Stylesheet" to Ctrl+Shift+R Move "Reload Stylesheet" to Ctrl+Shift+R instead of Ctrl+R from QKeySequence::Refresh. "Set Marker Line" maps to Ctrl+R by default, resulting in conflict. Reloading the stylesheet shouldn't be done often enough to warrant the easier-to-press key combination. --- src/qtui/mainwin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qtui/mainwin.cpp b/src/qtui/mainwin.cpp index ff4c81a1..5dd6eb4c 100644 --- a/src/qtui/mainwin.cpp +++ b/src/qtui/mainwin.cpp @@ -474,7 +474,7 @@ void MainWin::setupActions() coll->addAction("DebugLog", new Action(QIcon::fromTheme("tools-report-bug"), tr("Debug &Log"), coll, this, SLOT(on_actionDebugLog_triggered()))); coll->addAction("ReloadStyle", new Action(QIcon::fromTheme("view-refresh"), tr("Reload Stylesheet"), coll, - QtUi::style(), SLOT(reload()), QKeySequence::Refresh)); + QtUi::style(), SLOT(reload()), QKeySequence(Qt::CTRL + Qt::SHIFT + Qt::Key_R))); coll->addAction("HideCurrentBuffer", new Action(tr("Hide Current Buffer"), coll, this, SLOT(hideCurrentBuffer()), QKeySequence::Close)); -- 2.20.1