diff --git a/src/mumble/GlobalShortcutButtons.cpp b/src/mumble/GlobalShortcutButtons.cpp index 32c7d20bfef..0345e292073 100644 --- a/src/mumble/GlobalShortcutButtons.cpp +++ b/src/mumble/GlobalShortcutButtons.cpp @@ -93,10 +93,12 @@ void GlobalShortcutButtons::toggleCapture(const bool enabled) { GlobalShortcutEngine::engine->resetMap(); connect(GlobalShortcutEngine::engine, &GlobalShortcutEngine::buttonPressed, this, &GlobalShortcutButtons::updateButtons); + m_ui->addButton->setText(QObject::tr("Listening for input")); } else { disconnect(GlobalShortcutEngine::engine, &GlobalShortcutEngine::buttonPressed, this, &GlobalShortcutButtons::updateButtons); removeEventFilter(this); + m_ui->addButton->setText(QObject::tr("Add")); } } diff --git a/src/mumble/GlobalShortcutButtons.ui b/src/mumble/GlobalShortcutButtons.ui index cee8061cf75..da8ad5ea822 100644 --- a/src/mumble/GlobalShortcutButtons.ui +++ b/src/mumble/GlobalShortcutButtons.ui @@ -45,6 +45,9 @@ <html><head/><body><p>Starts the capture process: all buttons you press will be added to the tree.</p><p>Once all buttons are released, the capture process stops automatically.</p></body></html> + + Toggling this button will make the application listen for a shortcut. Once the shortcut is entered, the application stops listening for a shortcut. Multiple shortcuts can be assigned to the current action. Navigate to the shortcut list above to review the shortcuts currently assigned to the current action. + Add @@ -58,6 +61,9 @@ Remove the currently selected items + + This button will remove the selected shortcut for the current action. Note that you will have to select a shortcut from the list above first before this button has any effect. + Remove