feat: Change scan page index in tab widget.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user