mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-18 03:21:27 +02:00
fix
This commit is contained in:
parent
018127b236
commit
caaec71b9f
@ -65,10 +65,10 @@ void GeneralSettings::update()
|
||||
{
|
||||
controller->map()->name = MetaString::createFromTextID(mapRegisterLocalizedString("map", *controller->map(), TextIdentifier("header", "name"), ui->mapNameEdit->text().toStdString()));
|
||||
controller->map()->description = MetaString::createFromTextID(mapRegisterLocalizedString("map", *controller->map(), TextIdentifier("header", "description"), ui->mapDescriptionEdit->toPlainText().toStdString()));
|
||||
controller->map()->author = MetaString::createFromRawString(ui->authorEdit->toPlainText().toStdString());
|
||||
controller->map()->authorContact = MetaString::createFromRawString(ui->authorContactEdit->toPlainText().toStdString());
|
||||
controller->map()->author = MetaString::createFromRawString(ui->authorEdit->text().toStdString());
|
||||
controller->map()->authorContact = MetaString::createFromRawString(ui->authorContactEdit->text().toStdString());
|
||||
controller->map()->creationDateTime = ui->mapCreationDateTimeEdit->dateTime().toTime_t();
|
||||
controller->map()->mapVersion = MetaString::createFromRawString(ui->mapVersionEdit->toPlainText().toStdString());
|
||||
controller->map()->mapVersion = MetaString::createFromRawString(ui->mapVersionEdit->text().toStdString());
|
||||
if(ui->heroLevelLimitCheck->isChecked())
|
||||
controller->map()->levelLimit = ui->heroLevelLimit->value();
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user