[Gui] Recent macros, improve wording of Hint msg

This commit is contained in:
Syres916
2023-02-23 14:06:04 +00:00
committed by Chris Hennes
parent 858a1d23a3
commit 1ad4eef455

View File

@@ -1200,12 +1200,13 @@ void RecentMacrosAction::setFiles(const QStringList& files)
for (int index = 0; index < accel_col.count(); index++) {
msgMain = msgMain + QStringLiteral(" %1").arg(accel_col[index]);
}
msgMain = msgMain + QStringLiteral(" disabled because conflicting with");
msgMain = msgMain + QStringLiteral(" disabled because of conflicts with");
for (int index = 0; index < existingCommands.count(); index++) {
msgMain = msgMain + QStringLiteral(" %1").arg(existingCommands[index]);
}
msgMain = msgMain + QStringLiteral(" respectively.\nHint: In Preferences -> Macros -> Recent Macros -> Keyboard Modifiers"
" contains Ctrl+Shift+ as default, this may have been changed unintentionally.");
" this should be Ctrl+Shift+ by default, if this is now blank then you should revert"
" it back to Ctrl+Shift+ by pressing both keys at the same time.");
Base::Console().Warning("%s\n", qPrintable(msgMain));
}
}