mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-03 04:22:09 +08:00
cabana: sort DBC list alphabetically (#26127)
old-commit-hash: b89b881bdccb0fb844c597e9d26b64d36ba4af99
This commit is contained in:
@@ -21,6 +21,7 @@ MessagesWidget::MessagesWidget(QWidget *parent) : QWidget(parent) {
|
||||
for (const auto &name : dbc_names) {
|
||||
combo->addItem(QString::fromStdString(name));
|
||||
}
|
||||
combo->model()->sort(0);
|
||||
combo->setEditable(true);
|
||||
combo->setCurrentText(QString());
|
||||
combo->setInsertPolicy(QComboBox::NoInsert);
|
||||
|
||||
Reference in New Issue
Block a user