Skip to content

Commit

Permalink
Camera sync tool button is now a toggle
Browse files Browse the repository at this point in the history
The previous button worked, but did not remain pressed after activation.
  • Loading branch information
Matthew Mott committed Jan 7, 2021
1 parent 9af13d3 commit cf39a4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/dm.gameconnection/GameConnection.cpp
Expand Up @@ -312,7 +312,8 @@ void GameConnection::addToolbarItems()
// Add a toggle for the camera sync function
auto tool = camTB->AddTool(
wxID_ANY, "L", wxutil::getBitmap("sr_icon_communication.png"),
_("Enable game camera sync with DarkRadiant camera")
_("Enable game camera sync with DarkRadiant camera"),
wxITEM_CHECK
);
_camSyncToggle->connectToolItem(tool);
camTB->Realize();
Expand Down

0 comments on commit cf39a4e

Please sign in to comment.