Fix that sorting of list of databases and roles didn't work.
This commit is contained in:
parent
6a812570bb
commit
87ab22919f
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ public:
|
||||||
m_dataModel = new TableModel(parent);
|
m_dataModel = new TableModel(parent);
|
||||||
m_sortFilter = new QSortFilterProxyModel(parent);
|
m_sortFilter = new QSortFilterProxyModel(parent);
|
||||||
m_sortFilter->setSourceModel(m_dataModel);
|
m_sortFilter->setSourceModel(m_dataModel);
|
||||||
m_tableView->setModel(m_dataModel);
|
m_tableView->setModel(m_sortFilter);
|
||||||
m_tableView->setSortingEnabled(true);
|
m_tableView->setSortingEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue