mirror of
https://github.com/outbackdingo/amnezia-client.git
synced 2026-01-27 10:18:14 +00:00
fixed the use of defaultServerDefaultContainerChanged
This commit is contained in:
@@ -249,7 +249,7 @@ void ServersModel::editServer(const QJsonObject &server, const int serverIndex)
|
||||
}
|
||||
updateContainersModel();
|
||||
|
||||
if (isDefaultServerCurrentlyProcessed()) {
|
||||
if (serverIndex == m_defaultServerIndex) {
|
||||
auto defaultContainer = qvariant_cast<DockerContainer>(getDefaultServerData("defaultContainer"));
|
||||
emit defaultServerDefaultContainerChanged(defaultContainer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user