mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Dialog manage: Fixed that Themes folder is not created if it doesn't exist
This commit is contained in:
parent
3dce61b3e1
commit
73dba004e8
@ -1395,6 +1395,8 @@ INT_PTR CDialogManage::CTabThemes::OnCommand(WPARAM wParam, LPARAM lParam)
|
||||
|
||||
std::wstring theme = buffer;
|
||||
std::wstring path = Rainmeter->GetSettingsPath() + L"Themes\\";
|
||||
CreateDirectory(path.c_str(), 0);
|
||||
|
||||
path += theme;
|
||||
bool alreadyExists = (_waccess(path.c_str(), 0) != -1);
|
||||
if (alreadyExists)
|
||||
|
Loading…
Reference in New Issue
Block a user