Commit cce9d619 authored by Andreas Traczyk's avatar Andreas Traczyk

smartlist: reset model when changing accounts

Change-Id: I0c00d35c5637cc4a8dd4b34778ad83351898c1ea
parent 68abac99
......@@ -151,5 +151,7 @@ Qt::ItemFlags SmartListModel::flags(const QModelIndex &index) const
void
SmartListModel::setAccount(const std::string& accId)
{
beginResetModel();
accId_ = accId;
endResetModel();
}
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