Add username autocompletion popup menu (#2866)

This commit is contained in:
Tal Neoran
2021-06-19 19:29:17 +03:00
committed by GitHub
parent d21858b97f
commit f605221042
12 changed files with 193 additions and 123 deletions
@@ -612,6 +612,8 @@ void GeneralPage::initLayout(GeneralPageView &layout)
layout.addCheckbox("Color @usernames", s.colorUsernames);
layout.addCheckbox("Try to find usernames without @ prefix",
s.findAllUsernames);
layout.addCheckbox("Show username autocompletion popup menu",
s.showUsernameCompletionMenu);
const QStringList usernameDisplayModes = {"Username", "Localized name",
"Username and localized name"};