diff --git a/CHANGELOG.md b/CHANGELOG.md index 11146ec5a..90db4c24e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Minor: Disable checking for updates on unsupported platforms (#1874) - Bugfix: Fix bug preventing users from setting the highlight color of the second entry in the "User" highlights tab (#1898) +- Bugfix: /usercard command will now respect the "Automatically close user popup" setting (#1918) ## 2.2.0 diff --git a/resources/contributors.txt b/resources/contributors.txt index cee2ae135..a04562ecc 100644 --- a/resources/contributors.txt +++ b/resources/contributors.txt @@ -31,6 +31,7 @@ YungLPR | https://github.com/leon-richardt | | Contributor Mm2PL | https://github.com/mm2pl | | Contributor gempir | https://github.com/gempir | | Contributor mfmarlow | https://github.com/mfmarlow | | Contributor +dnsge | https://github.com/dnsge | | Contributor # If you are a contributor add yourself above this line Defman21 | https://github.com/Defman21 | | Documentation diff --git a/src/controllers/commands/CommandController.cpp b/src/controllers/commands/CommandController.cpp index 1e1d1466a..8b5e3eede 100644 --- a/src/controllers/commands/CommandController.cpp +++ b/src/controllers/commands/CommandController.cpp @@ -451,7 +451,9 @@ QString CommandController::execCommand(const QString &textNoEmoji, makeSystemMessage("Usage /usercard [user]")); return ""; } - auto *userPopup = new UserInfoPopup(false); + + auto *userPopup = + new UserInfoPopup(getSettings()->autoCloseUserPopup); userPopup->setData(words[1], channel); userPopup->move(QCursor::pos()); userPopup->show();