feat: Change scan page index in tab widget.

This commit is contained in:
sunwen
2024-06-06 17:48:50 +08:00
parent e7f8f1467c
commit a37e2af71e

View File

@@ -79,9 +79,9 @@ MainWindow::MainWindow(QWidget* aParent)
connect(mTabWidget, &QTabWidget::currentChanged, this, [this](int aIndex)
{
if(aIndex == 1)
if(aIndex == 0)
{
mTabWidget->widget(1)->setFocus();
mTabWidget->widget(0)->setFocus();
}
});