Clear copied scene hotkey (avoid conflict with source scene)

This commit is contained in:
HomeWorld 2013-09-23 14:12:45 +03:00
parent f8ea9d6b25
commit c09a54f345

View File

@ -486,6 +486,8 @@ LRESULT CALLBACK OBS::ListboxHook(HWND hwnd, UINT message, WPARAM wParam, LPARAM
XElement *newSceneElement = scenes->CopyElement(item, strName); XElement *newSceneElement = scenes->CopyElement(item, strName);
newSceneElement->SetString(TEXT("class"), ci.strClass); newSceneElement->SetString(TEXT("class"), ci.strClass);
newSceneElement->SetInt(TEXT("hotkey"), 0);
if(ci.configProc) if(ci.configProc)
{ {
if(!ci.configProc(newSceneElement, true)) if(!ci.configProc(newSceneElement, true))