Commit 5175d9b7 authored by edo9300's avatar edo9300

Clear single play info dialog when opening single mode

parent 33c8b469
...@@ -1017,6 +1017,7 @@ void Game::RefreshReplay() { ...@@ -1017,6 +1017,7 @@ void Game::RefreshReplay() {
} }
void Game::RefreshSingleplay() { void Game::RefreshSingleplay() {
lstSinglePlayList->clear(); lstSinglePlayList->clear();
mainGame->stSinglePlayInfo->setText(L"");
#ifdef _WIN32 #ifdef _WIN32
WIN32_FIND_DATAW fdataw; WIN32_FIND_DATAW fdataw;
HANDLE fh = FindFirstFileW(L"./single/*.lua", &fdataw); HANDLE fh = FindFirstFileW(L"./single/*.lua", &fdataw);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment