Fix render bug2
This commit is contained in:
@@ -57,8 +57,8 @@ MainWindow::MainWindow(QWidget* aParent)
|
|||||||
connect(EventCenter::Default(), &EventCenter::LoginSuccess, this, [this]()
|
connect(EventCenter::Default(), &EventCenter::LoginSuccess, this, [this]()
|
||||||
{
|
{
|
||||||
mInitializWidget->setVisible(false);
|
mInitializWidget->setVisible(false);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
connect(EventCenter::Default(), &EventCenter::LoginSuccess, this, [this]()
|
connect(EventCenter::Default(), &EventCenter::LoginSuccess, this, [this]()
|
||||||
{
|
{
|
||||||
if(!mTabInited){
|
if(!mTabInited){
|
||||||
@@ -67,6 +67,7 @@ MainWindow::MainWindow(QWidget* aParent)
|
|||||||
mTabWidget->setCurrentIndex(0);
|
mTabWidget->setCurrentIndex(0);
|
||||||
}
|
}
|
||||||
mTabWidget->setVisible(true);
|
mTabWidget->setVisible(true);
|
||||||
|
this->update();
|
||||||
});
|
});
|
||||||
|
|
||||||
GUIErrorHandle::Default()->init();
|
GUIErrorHandle::Default()->init();
|
||||||
|
|||||||
Reference in New Issue
Block a user