diff --git a/CHANGELOG.md b/CHANGELOG.md index 6973322d..fa40f0f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/src/widgets/helper/EditableModelView.cpp b/src/widgets/helper/EditableModelView.cpp index 7bed6035..e40a7d2d 100644 --- a/src/widgets/helper/EditableModelView.cpp +++ b/src/widgets/helper/EditableModelView.cpp @@ -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);