Merge branch 'main' into feature/mcp

This commit is contained in:
SoftFever committed 2026-11-05 18:07:30 +08:00
commit 56b03d7bdf
58 files changed
+2331 -302

No files matched your search

+8
View File
@@ -1530,6 +1530,14 @@ void MainFrame::init_tabpanel() {
#else
m_tabpanel->Bind(wxEVT_NOTEBOOK_PAGE_CHANGED, [this](wxBookCtrlEvent& e) {
#endif
// A page's own book (the Calibration page's Tabbook) emits the same event, and it propagates
// up here. Treating it as a main tab change resets the selected tab and the undo/redo state,
// and the SetFocus() below re-activates the main window on wxGTK, which dismisses the Speed
// Dial when the page is built in the background while the dial is open.
if (e.GetEventObject() != m_tabpanel) {
e.Skip();
return;
}
//BBS
wxWindow* panel = m_tabpanel->GetCurrentPage();
//wxString page_text = m_tabpanel->GetPageText(sel);