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
This commit is contained in:
parent
43fe3964f9
commit
640e7029b9
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user