Config: fix for new SSC added, and COM port selected

This commit is contained in:
tomcw
2026-03-08 17:36:18 +00:00
parent df459967dc
commit 3b30fb4a55
7 changed files with 55 additions and 38 deletions
+2 -1
View File
@@ -351,7 +351,8 @@ void CPropertySheetHelper::ApplyNewConfigForRestart()
if (m_ConfigNew.m_Slot[slot] == CT_SSC)
{
GetCardMgr().GetSSC()->SetSerialPortItem(m_ConfigNew.m_serialPortItem);
if (CONFIG_CHANGED(m_serialPortItem))
GetCardMgr().GetSSC()->RescanCOMPortsAndSetSerialPortItem(m_ConfigNew.m_serialPortItem);
}
}