瀏覽代碼

Improved Ground / Undergound menu text

George King 10 月之前
父節點
當前提交
7f09e22242
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      mapeditor/mainwindow.cpp

+ 2 - 0
mapeditor/mainwindow.cpp

@@ -979,10 +979,12 @@ void MainWindow::on_actionLevel_triggered()
 		ui->minimapView->setScene(controller.miniScene(mapLevel));
 		if (mapLevel == 0)
 		{
+			ui->actionLevel->setText(tr("View underground"));
 			ui->actionLevel->setToolTip(tr("View underground"));
 		}
 		else
 		{
+			ui->actionLevel->setText(tr("View surface"));
 			ui->actionLevel->setToolTip(tr("View surface"));
 		}
 	}