fix(settings): prevent command triggers from being elided (#6369)

This commit is contained in:
James Upjohn
2025-08-04 10:30:42 +12:00
committed by GitHub
parent 41aac1448a
commit 0085b64418
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -54,6 +54,7 @@
- Bugfix: Fixed invalid commands from being forwarded to Helix, making it possible for information to leak (e.g. if you typed `/bann username ban reason` it would be seen by others in chat as `username ban reason`). (#6272, #6330)
- Bugfix: Emotes that failed to load their images now show as text. (#6355)
- Bugfix: Fixed a crash that occurs when searching for emotes in channel-less contexts. (#6357)
- Bugfix: Fixed command triggers showing as '/...' when the value is longer than the column width. (#6369)
- Dev: Mini refactor of Split. (#6148)
- Dev: Conan will no longer generate a `CMakeUserPresets.json` file. (#6117)
- Dev: Pass `--force-openssl` when installing from CMake in Qt 6.8+. (#6129)
+2
View File
@@ -21,6 +21,8 @@ EditableModelView::EditableModelView(QAbstractTableModel *model, bool movable)
{
this->model_->setParent(this);
this->tableView_->setModel(model_);
// disabling word-wrap somehow prevent '/'-prefixed commands from being elided
this->tableView_->setWordWrap(false);
this->tableView_->setSelectionMode(QAbstractItemView::SingleSelection);
this->tableView_->setSelectionBehavior(QAbstractItemView::SelectRows);
this->tableView_->setDragDropMode(QTableView::DragDropMode::InternalMove);