From 640e7029b9eb331bc734b2e514dba61e90de3ab4 Mon Sep 17 00:00:00 2001 From: Srivats P Date: Fri, 23 Oct 2020 13:21:02 +0530 Subject: [PATCH] Fix port reservation getting cleared incorrectly This would happen when other port config properties were modified but the reserve checkbox itself was not modified. Fixes #317 --- client/portconfigdialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/client/portconfigdialog.cpp b/client/portconfigdialog.cpp index fc95419..a742ab0 100644 --- a/client/portconfigdialog.cpp +++ b/client/portconfigdialog.cpp @@ -87,6 +87,7 @@ void PortConfigDialog::accept() else Q_ASSERT(false); // Unreachable!!! + pc.set_user_name(portConfig_.user_name()); switch (reservedBy_) { case kSelf: if (!reserveButton->isChecked())