Commit b418331d authored by Thomas Baumgart's avatar Thomas Baumgart
Browse files

Remove unnecessary loading of the accounts model

BUG: 424344
FIXED-IN: 5.1.1
parent 84ff905e
......@@ -228,7 +228,6 @@ void KExportDlg::loadAccounts()
auto filterProxyModel = new AccountNamesFilterProxyModel(this);
filterProxyModel->addAccountGroup(QVector<eMyMoney::Account::Type> {eMyMoney::Account::Type::Asset, eMyMoney::Account::Type::Liability});
auto const model = Models::instance()->accountsModel();
model->load();
filterProxyModel->setSourceColumns(model->getColumns());
filterProxyModel->setSourceModel(model);
filterProxyModel->sort((int)eAccountsModel::Column::Account);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment