From f953778355a24e40be07a2907026878fdf835611 Mon Sep 17 00:00:00 2001 From: DavidXanatos <3890945+DavidXanatos@users.noreply.github.com> Date: Sun, 19 May 2024 09:12:46 +0200 Subject: [PATCH] Update OptionsNetwork.cpp --- SandboxiePlus/SandMan/Windows/OptionsNetwork.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());