Skip to content

Commit

Permalink
Merge pull request #3501 from myk002/myk_diplomacy
Browse files Browse the repository at this point in the history
[Gui] differentiate trade request screen from other diplomacy screens
  • Loading branch information
myk002 authored Jun 26, 2023
2 parents 9b74492 + b5f4cef commit d9d0482
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions library/modules/Gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,10 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
if (game->main_interface.diplomacy.open) {
newFocusString = baseFocus;
newFocusString += "/Diplomacy";
if (game->main_interface.diplomacy.taking_requests)
newFocusString += "/Requests";
else
newFocusString += "/Default";
focusStrings.push_back(newFocusString);
}
if (game->main_interface.petitions.open) {
Expand Down

0 comments on commit d9d0482

Please sign in to comment.