Skip to content

Commit

Permalink
Added window title to preview window names
Browse files Browse the repository at this point in the history
  • Loading branch information
ju1ce committed Jul 1, 2022
1 parent 66f765e commit e7cde55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AprilTagTrackers/GUI/MainFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
GUI::MainFrame::MainFrame(RefPtr<ITrackerControl> _tracker, const Localization& _lc, UserConfig& _config)
: wxFrame(nullptr, wxID_ANY, _lc.APP_TITLE),
tracker(_tracker), lc(_lc), config(_config),
previews{PreviewFrame{"Preview"}, PreviewFrame{"Camera Preview"}}
previews{PreviewFrame{"Preview [" + _config.windowTitle + "]"}, PreviewFrame{"Camera Preview [" + _config.windowTitle + "]"}}
{
SetIcon(apriltag_xpm);
if (!config.windowTitle.empty()) SetTitle(config.windowTitle);
Expand Down

0 comments on commit e7cde55

Please sign in to comment.