Qt: Fix UI duplicating on language switch
This commit is contained in:
parent
ce7f6128e9
commit
1f8dda5ffa
|
@ -723,7 +723,6 @@ void MainWindow::recreate()
|
||||||
g_main_window = nullptr;
|
g_main_window = nullptr;
|
||||||
|
|
||||||
MainWindow* new_main_window = new MainWindow();
|
MainWindow* new_main_window = new MainWindow();
|
||||||
new_main_window->initialize();
|
|
||||||
new_main_window->show();
|
new_main_window->show();
|
||||||
deleteLater();
|
deleteLater();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue