Enable focus outline for global auto-type shortcut on macOS

This commit is contained in:
Weslly 2018-02-23 06:43:43 -03:00 committed by Janek Bevendorff
parent 32a4078240
commit daaa3c5b41

View File

@ -150,6 +150,7 @@ void SettingsWidget::loadSettings()
if (m_globalAutoTypeKey > 0 && m_globalAutoTypeModifiers > 0) {
m_generalUi->autoTypeShortcutWidget->setShortcut(m_globalAutoTypeKey, m_globalAutoTypeModifiers);
}
m_generalUi->autoTypeShortcutWidget->setAttribute(Qt::WA_MacShowFocusRect, true);
m_generalUi->autoTypeDelaySpinBox->setValue(config()->get("AutoTypeDelay").toInt());
}