mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Add a reset to default button to discord bot section.
Added Discord Bot section to the profile sync list.
This commit is contained in:
parent
fd0c04db9d
commit
a6f2b6f912
19 changed files with 254 additions and 118 deletions
|
|
@ -26,20 +26,6 @@ using WPFSharp.Globalizer;
|
|||
|
||||
namespace ServerManagerTool
|
||||
{
|
||||
public enum ServerSettingsResetAction
|
||||
{
|
||||
// Sections
|
||||
AdministrationSection,
|
||||
|
||||
// Properties
|
||||
RconWindowExtents,
|
||||
PlayerMaxXpProperty,
|
||||
ServerOptions,
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Interaction logic for ServerSettings.xaml
|
||||
/// </summary>
|
||||
partial class ServerSettingsControl : UserControl
|
||||
{
|
||||
private readonly GlobalizedApplication _globalizer = GlobalizedApplication.Instance;
|
||||
|
|
@ -1354,6 +1340,9 @@ namespace ServerManagerTool
|
|||
RefreshServerRegionsList();
|
||||
break;
|
||||
|
||||
case ServerSettingsResetAction.DiscordBotSection:
|
||||
this.Settings.ResetDiscordBotSection();
|
||||
break;
|
||||
|
||||
// Properties
|
||||
case ServerSettingsResetAction.RconWindowExtents:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue