Straßenliste speichert nun die einstellung

This commit is contained in:
HuskyTeufel
2021-04-09 21:40:56 +02:00
parent 88323fcd29
commit a2192323bc
7 changed files with 166 additions and 88 deletions

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SanSystem.Einstellungen
{
class StreetListSettings : Settings
{
public StreetListSettings() : base("StreetList")
{
}
public void SetRadioButton(string what)
{
if (what.Equals("Sorted"))
setConfig("ort_selected", 1);
else
setConfig("ort_selected", 0);
}
public bool SortedSelected()
{
return (getConfiguration("ort_selected") > 0);
}
public override void InitDevValues()
{
configuration.Add("ort_selected", 0);
}
}
}