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
+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);