From dfe921672e13e5b113b84ebc2c0e17bbdf05a148 Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Fri, 4 Mar 2022 11:50:50 +0800 Subject: [PATCH] Fix comment typo --- src/Gui/DlgKeyboard.ui | 2 +- src/Gui/ShortcutManager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gui/DlgKeyboard.ui b/src/Gui/DlgKeyboard.ui index f48ea1df12..e8b484cda9 100644 --- a/src/Gui/DlgKeyboard.ui +++ b/src/Gui/DlgKeyboard.ui @@ -201,7 +201,7 @@ be treated as shorctcut key sequence 'F, F'. - This list shows commands having the same shortcut in the priority from hight + This list shows commands having the same shortcut in the priority from high to low. If more than one command with the same shortcut are active at the same time. The one with the highest prioirty will be triggered. diff --git a/src/Gui/ShortcutManager.cpp b/src/Gui/ShortcutManager.cpp index 32f3ca731f..6541e395b5 100644 --- a/src/Gui/ShortcutManager.cpp +++ b/src/Gui/ShortcutManager.cpp @@ -235,7 +235,7 @@ bool ShortcutManager::checkShortcut(QObject *o, const QKeySequence &key) pendingActions.emplace_back(action, key.count(), 0); } if (flush) { - // We'll flush now because there is no poential match with further + // We'll flush now because there is no potential match with further // keystrokes, so no need to wait for timer. lastFocus = nullptr; onTimer();