This commit is contained in:
Сергей Полевой 2022-12-05 23:43:06 +04:00
parent 4cadb6385c
commit 7839cb7aad

View File

@ -160,7 +160,7 @@ public class FormMapWithSetArtilleries extends JFrame {
} }
_mapsCollection.addMap(textFieldMapName.getText(), _mapsDict.get((String)comboBoxMapSelector.getSelectedItem())); _mapsCollection.addMap(textFieldMapName.getText(), _mapsDict.get((String)comboBoxMapSelector.getSelectedItem()));
reloadMaps(); reloadMaps();
logger.info("Добавлена карта \"" + textFieldMapName.getText() + "\" типа " + (String)comboBoxMapSelector.getSelectedItem()); logger.info("Добавлена карта \"" + textFieldMapName.getText() + "\" типа " + comboBoxMapSelector.getSelectedItem());
}); });
buttonDeleteMap.addActionListener(e -> { buttonDeleteMap.addActionListener(e -> {