mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Fixed profile name update bug.
This commit is contained in:
@@ -132,6 +132,7 @@ namespace IDeliverable.Slides.Controllers
|
|||||||
profile.EngineStates[engine.Name] = engine.Data.Serialize();
|
profile.EngineStates[engine.Name] = engine.Data.Serialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
profile.Name = viewModel.Name?.Trim();
|
||||||
profile.SelectedEngine = viewModel.SelectedEngine;
|
profile.SelectedEngine = viewModel.SelectedEngine;
|
||||||
settingsPart.StoreProfile(profile);
|
settingsPart.StoreProfile(profile);
|
||||||
_services.Notifier.Information(T("That slide show profile has been updated."));
|
_services.Notifier.Information(T("That slide show profile has been updated."));
|
||||||
|
|||||||
Reference in New Issue
Block a user