Changeset 284
- Timestamp:
- Sep 30, 2020, 12:04:52 PM (5 years ago)
- File:
- 
      - 1 edited
 
 - 
          
  trunk/LocalPlayer/CityScreen.pas (modified) (1 diff)
 
Legend:
- Unmodified
- Added
- Removed
- 
      trunk/LocalPlayer/CityScreen.pasr281 r284 1479 1479 (cpImp or cpIndex) then 1480 1480 begin // loss of material -- do query 1481 Application.ProcessMessages; // TODO: Needed for Gtk2, Lazarus gtk2 bug? 1481 1482 if (pt1 = ptTrGoods) or (pt1 = ptShip) or (pt1 <> pt0) and 1482 (pt0 <> ptCaravan) then 1483 (pt0 <> ptCaravan) then begin 1483 1484 QueryOk := SimpleQuery(mkOkCancel, 1484 1485 Format(Phrases.Lookup('LOSEMAT'), [MyCity[cix].Prod0, 1485 1486 MyCity[cix].Prod0]), 'MSG_DEFAULT') = mrOK 1486 else if MyCity[cix].Project and (cpImp or cpIndex) = MyCity[cix] 1487 end else 1488 if MyCity[cix].Project and (cpImp or cpIndex) = MyCity[cix] 1487 1489 .Project0 and (cpImp or cpIndex) then begin 1488 Application.ProcessMessages; // TODO: Needed for Gtk2, Lazarus gtk2 bug?1489 1490 QueryOk := SimpleQuery(mkOkCancel, Phrases.Lookup('LOSEMAT3'), 1490 1491 'MSG_DEFAULT') = mrOK; 1491 1492 end; 1492 1493 end; 1493 1494 end; 
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
