mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 13:30:06 +00:00
Update map location on alert "Go"
This commit is contained in:
parent
e75666d7a2
commit
899cb041e5
3 changed files with 70 additions and 8 deletions
|
|
@ -530,7 +530,12 @@ void MainWindowImpl::ConnectOtherSignals()
|
|||
&ui::AlertDockWidget::MoveMap,
|
||||
this,
|
||||
[=](double latitude, double longitude)
|
||||
{ activeMap_->SetMapLocation(latitude, longitude); },
|
||||
{
|
||||
for (map::MapWidget* map : maps_)
|
||||
{
|
||||
map->SetMapLocation(latitude, longitude, true);
|
||||
}
|
||||
},
|
||||
Qt::QueuedConnection);
|
||||
connect(mainWindow_,
|
||||
&MainWindow::ActiveMapMoved,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue