Bug #1827 » 1827.v2.patch
| client/gui-qt/gotodlg.cpp | ||
|---|---|---|
|
bool can_airlift;
|
||
|
if (indexes.isEmpty()) {
|
||
|
update_dlg();
|
||
|
return;
|
||
|
}
|
||
|
index = indexes.at(0);
|
||
| ... | ... | |
|
item = goto_tab->item(i, 0);
|
||
|
city_id = item->data(Qt::UserRole).toInt();
|
||
|
dest = game_city_by_number(city_id);
|
||
|
if (dest == nullptr) {
|
||
|
update_dlg();
|
||
|
return;
|
||
|
}
|
||
|
center_tile_mapcanvas(city_tile(dest));
|
||
|
can_airlift = false;
|
||
|
unit_list_iterate(get_units_in_focus(), punit) {
|
||
- « Previous
- 1
- 2
- 3
- Next »