mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
Improved Ground / Undergound menu text
This commit is contained in:
@ -979,10 +979,12 @@ void MainWindow::on_actionLevel_triggered()
|
|||||||
ui->minimapView->setScene(controller.miniScene(mapLevel));
|
ui->minimapView->setScene(controller.miniScene(mapLevel));
|
||||||
if (mapLevel == 0)
|
if (mapLevel == 0)
|
||||||
{
|
{
|
||||||
|
ui->actionLevel->setText(tr("View underground"));
|
||||||
ui->actionLevel->setToolTip(tr("View underground"));
|
ui->actionLevel->setToolTip(tr("View underground"));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
ui->actionLevel->setText(tr("View surface"));
|
||||||
ui->actionLevel->setToolTip(tr("View surface"));
|
ui->actionLevel->setToolTip(tr("View surface"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user