Add use scanner.
This commit is contained in:
@@ -92,6 +92,14 @@ MainWindow::MainWindow(QWidget* aParent)
|
||||
this->update();
|
||||
QApplication::processEvents();
|
||||
});
|
||||
|
||||
connect(mTabWidget, &QTabWidget::currentChanged, this, [this](int aIndex)
|
||||
{
|
||||
if(aIndex == 1)
|
||||
{
|
||||
mTabWidget->widget(1)->setFocus();
|
||||
}
|
||||
});
|
||||
|
||||
GUIErrorHandle::Default()->init();
|
||||
QApplication::setActiveWindow(centralWidget());
|
||||
|
||||
Reference in New Issue
Block a user