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

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() + "\" типа " + _mapsDict.get((String)comboBoxMapSelector.getSelectedItem())); logger.info("Добавлена карта \"" + textFieldMapName.getText() + "\" типа " + (String)comboBoxMapSelector.getSelectedItem());
}); });
buttonDeleteMap.addActionListener(e -> { buttonDeleteMap.addActionListener(e -> {