mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Fixed bug when pasting ini config into paste window, resulting in blank record.
This commit is contained in:
parent
d5800f21ec
commit
a029d2dd51
6 changed files with 77 additions and 25 deletions
|
|
@ -1212,7 +1212,7 @@ namespace ServerManagerTool
|
|||
|
||||
if (!string.IsNullOrWhiteSpace(this.Settings.ServerMap))
|
||||
{
|
||||
if (!newList.Any(m => m.ValueMember.Equals(this.Settings.ServerMap, StringComparison.OrdinalIgnoreCase)))
|
||||
if (!newList.Any(m => m.ValueMember.Equals(this.Settings.ServerMap)))
|
||||
{
|
||||
newList.Add(new Common.Model.ComboBoxItem
|
||||
{
|
||||
|
|
@ -1240,7 +1240,7 @@ namespace ServerManagerTool
|
|||
|
||||
if (!string.IsNullOrWhiteSpace(this.Settings.BranchName))
|
||||
{
|
||||
if (!newList.Any(m => m.ValueMember.Equals(this.Settings.BranchName, StringComparison.OrdinalIgnoreCase)))
|
||||
if (!newList.Any(m => m.ValueMember.Equals(this.Settings.BranchName)))
|
||||
{
|
||||
newList.Add(new Common.Model.ComboBoxItem
|
||||
{
|
||||
|
|
@ -1283,7 +1283,7 @@ namespace ServerManagerTool
|
|||
|
||||
if (!string.IsNullOrWhiteSpace(this.Settings.ServerRegion))
|
||||
{
|
||||
if (!newList.Any(m => m.ValueMember.Equals(this.Settings.ServerRegion, StringComparison.OrdinalIgnoreCase)))
|
||||
if (!newList.Any(m => m.ValueMember.Equals(this.Settings.ServerRegion)))
|
||||
{
|
||||
newList.Add(new Common.Model.ComboBoxItem
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue