mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Manage Skins: Fixed crash with empty skin folder
This commit is contained in:
parent
ccd3c10248
commit
18deccb36f
@ -424,9 +424,13 @@ void CDialogManage::CTabSkins::Update(CMeterWindow* meterWindow, bool deleted)
|
||||
tvi.hInsertAfter = TVI_LAST;
|
||||
tvi.item.mask = TVIF_TEXT | TVIF_IMAGE | TVIF_SELECTEDIMAGE;
|
||||
tvi.item.iImage = tvi.item.iSelectedImage = 0;
|
||||
|
||||
if (!Rainmeter->m_SkinFolders.empty())
|
||||
{
|
||||
PopulateTree(item, tvi);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void CDialogManage::CTabSkins::SetControls()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user