X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=bs%2Fui%2Ffleetviewbase.ui.h;h=5d3e4dc34329e1b6ce85824e916b519613f560fe;hb=071b5f2d6ca710d048a58ee40e32bc623033c46e;hp=89d1385bcb9f3bc23877ba7b793c465b6e25fbba;hpb=bdcb677a098dcf851892537dafedb91ab37f2a8b;p=hbs.git diff --git a/bs/ui/fleetviewbase.ui.h b/bs/ui/fleetviewbase.ui.h index 89d1385..5d3e4dc 100644 --- a/bs/ui/fleetviewbase.ui.h +++ b/bs/ui/fleetviewbase.ui.h @@ -11,12 +11,22 @@ void FleetViewBase::slotAttacker(bool b) { if (b) { - CaptureBox->show(); - SalvageBox->hide(); + CaptureBox->setTitle(tr("Captured roids")); } else { - SalvageBox->show(); - CaptureBox->hid(); + CaptureBox->setTitle(tr("Salvage")); + } +} + +void FleetViewBase::slotHomePlanet( bool b ) +{ + if (b) + { + RoidsGroup->show(); + } + else + { + RoidsGroup->hide(); } } \ No newline at end of file