mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-24 21:46:52 +01:00
Merge pull request #6 from Cyberboss/InvisibleDropdown
Fix invisible visibility and security and security dropdowns
This commit is contained in:
@@ -130,6 +130,9 @@ namespace TGControlPanel
|
||||
if (!ServerPathTextbox.Focused)
|
||||
ServerPathTextbox.Text = Config.ServerDirectory();
|
||||
|
||||
VisibilitySelector.SelectedIndex = (int)DD.VisibilityLevel();
|
||||
SecuritySelector.SelectedIndex = (int)DD.SecurityLevel();
|
||||
|
||||
if (!RepoExists)
|
||||
{
|
||||
updatingFields = false;
|
||||
@@ -142,9 +145,6 @@ namespace TGControlPanel
|
||||
if (!projectNameText.Focused)
|
||||
projectNameText.Text = DM.ProjectName();
|
||||
|
||||
VisibilitySelector.SelectedIndex = (int)DD.VisibilityLevel();
|
||||
SecuritySelector.SelectedIndex = (int)DD.SecurityLevel();
|
||||
|
||||
var val = Config.InteropPort(out string error);
|
||||
if (error != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user