fix: Recon connection failed with new recon interface.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#include "components/ULineEdit.h"
|
||||
#include "dialogs/DicomSettingsArea.h"
|
||||
#include "json/jsonobject.h"
|
||||
#include "recon/ReconManager.h"
|
||||
|
||||
#include <QVBoxLayout>
|
||||
#include <QLabel>
|
||||
@@ -102,6 +103,8 @@ bool ReconSettingsDialog::updateReferenceData()
|
||||
serverInfo.name = myAETitle;
|
||||
serverInfo.port = serverPort;
|
||||
JsonObject::Instance()->setServer(JsonObject::RECON, serverInfo);
|
||||
ReconManager::getInstance()->setReconIpAndPort(serverIp, serverPort);
|
||||
QMetaObject::invokeMethod(ReconManager::getInstance(), "checkReconConnection", Qt::QueuedConnection);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user