mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-21 02:01:03 +07:00
feature/api-controller-improvements (#567)
* added error handler for api controller * while downloading the config from the api, the Connecting status is now displayed * added a button to delete container config for api servers * added crc check to avoid re-import of api configs * fixed currentIndex of serversMenuContent after DefaultServerIndexChanged * added closing the import window after re-importing the config from api
This commit is contained in:
@@ -53,7 +53,7 @@ QVariant ContainersModel::data(const int index, int role) const
|
||||
return data(modelIndex, role);
|
||||
}
|
||||
|
||||
void ContainersModel::updateModel(QJsonArray &containers)
|
||||
void ContainersModel::updateModel(const QJsonArray &containers)
|
||||
{
|
||||
beginResetModel();
|
||||
m_containers.clear();
|
||||
|
||||
Reference in New Issue
Block a user