Windows: cleaning database now shows progress window
This commit is contained in:
parent
86fedf623c
commit
4e52a98eae
@ -385,7 +385,10 @@ void MainWindow::dbRefresh() {
|
||||
}
|
||||
|
||||
void MainWindow::dbClean() {
|
||||
cleanDB();
|
||||
ProgressWindow pw( mw->hInst, mw->window );
|
||||
std::thread t( cleanDB, pw.getWindow() );
|
||||
t.detach();
|
||||
pw.mainLoop();
|
||||
}
|
||||
|
||||
void MainWindow::dbManage() {
|
||||
|
Loading…
Reference in New Issue
Block a user