Merge pull request #3730 from myk002/myk_orders_focus_string

[Gui] add focus string details for orders context
develop
Myk 2023-09-03 17:47:51 -07:00 committed by GitHub
commit ed243ca1b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -434,7 +434,7 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
} }
if (game->main_interface.job_details.open) { if (game->main_interface.job_details.open) {
newFocusString = baseFocus; newFocusString = baseFocus;
newFocusString += "/JobDetails"; newFocusString += "/JobDetails/" + enum_item_key(game->main_interface.job_details.context);
focusStrings.push_back(newFocusString); focusStrings.push_back(newFocusString);
} }
if (game->main_interface.assign_trade.open) { if (game->main_interface.assign_trade.open) {