Skip to content

Commit

Permalink
🔧 Added missing try{}catch()
Browse files Browse the repository at this point in the history
  • Loading branch information
ohlidalp committed Jan 22, 2025
1 parent 9c392a2 commit 80d3cd2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion source/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1504,7 +1504,14 @@ int main(int argc, char *argv[])

case MSG_GUI_REFRESH_TUNING_MENU_REQUESTED:
{
App::GetGuiManager()->TopMenubar.RefreshTuningMenu();
try
{
App::GetGuiManager()->TopMenubar.RefreshTuningMenu();
}
catch (...)
{
HandleMsgQueueException(m.type);
}
break;
}

Expand Down

0 comments on commit 80d3cd2

Please sign in to comment.