fix(settings): prevent command triggers from being elided (#6369)
This commit is contained in:
@@ -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: 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: 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 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: Mini refactor of Split. (#6148)
|
||||||
- Dev: Conan will no longer generate a `CMakeUserPresets.json` file. (#6117)
|
- Dev: Conan will no longer generate a `CMakeUserPresets.json` file. (#6117)
|
||||||
- Dev: Pass `--force-openssl` when installing from CMake in Qt 6.8+. (#6129)
|
- Dev: Pass `--force-openssl` when installing from CMake in Qt 6.8+. (#6129)
|
||||||
|
|||||||
@@ -21,6 +21,8 @@ EditableModelView::EditableModelView(QAbstractTableModel *model, bool movable)
|
|||||||
{
|
{
|
||||||
this->model_->setParent(this);
|
this->model_->setParent(this);
|
||||||
this->tableView_->setModel(model_);
|
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_->setSelectionMode(QAbstractItemView::SingleSelection);
|
||||||
this->tableView_->setSelectionBehavior(QAbstractItemView::SelectRows);
|
this->tableView_->setSelectionBehavior(QAbstractItemView::SelectRows);
|
||||||
this->tableView_->setDragDropMode(QTableView::DragDropMode::InternalMove);
|
this->tableView_->setDragDropMode(QTableView::DragDropMode::InternalMove);
|
||||||
|
|||||||
Reference in New Issue
Block a user