1
0
Fork 0

Update Bridge.cpp

add GUI_SET_FAVOURITE_COMMAND:
This commit is contained in:
yjd 2022-06-26 14:18:25 +08:00 committed by GitHub
parent 8f3c1b1685
commit 53e8891765
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -763,6 +763,19 @@ void* Bridge::processMessage(GUIMSG type, void* param1, void* param2)
}
break;
case GUI_SET_FAVOURITE_COMMAND:
{
QString name;
QString shortcut;
if(param1 == nullptr)
return nullptr;
name = QString((const char*)param1);
if(param2 != nullptr)
shortcut = QString((const char*)param2);
emit setFavouriteItemShortcut(2, name, shortcut);
}
break;
case GUI_SET_FAVOURITE_TOOL_SHORTCUT:
{
QString name;