diff --git a/SandboxiePlus/SandMan/Windows/OptionsNetwork.cpp b/SandboxiePlus/SandMan/Windows/OptionsNetwork.cpp index 387cbb73..34e956b1 100644 --- a/SandboxiePlus/SandMan/Windows/OptionsNetwork.cpp +++ b/SandboxiePlus/SandMan/Windows/OptionsNetwork.cpp @@ -1108,7 +1108,7 @@ void COptionsWindow::CloseNetProxyEdit(QTreeWidgetItem* pItem, bool bSave) pItem->setData(2, Qt::UserRole, pPort->text()); pItem->setText(3, pAuth->currentText()); - pItem->setData(3, Qt::UserRole, (int)GetAuthMode(pAuth->currentText())); + pItem->setData(3, Qt::UserRole, pAuth->currentData()); pItem->setText(4, pLogin->text()); pItem->setData(4, Qt::UserRole, pLogin->text());