mirror of
https://github.com/n00mkrad/flowframes.git
synced 2026-07-10 04:21:49 +02:00
Fixed GetBool(string key) always using false as default
This commit is contained in:
4
Code/Forms/BatchForm.Designer.cs
generated
4
Code/Forms/BatchForm.Designer.cs
generated
@@ -190,7 +190,7 @@
|
||||
this.moveDownBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.moveDownBtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.moveDownBtn.ForeColor = System.Drawing.Color.White;
|
||||
this.moveDownBtn.Location = new System.Drawing.Point(637, 446);
|
||||
this.moveDownBtn.Location = new System.Drawing.Point(636, 445);
|
||||
this.moveDownBtn.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.moveDownBtn.Name = "moveDownBtn";
|
||||
this.moveDownBtn.Size = new System.Drawing.Size(35, 35);
|
||||
@@ -207,7 +207,7 @@
|
||||
this.moveUpBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.moveUpBtn.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.moveUpBtn.ForeColor = System.Drawing.Color.White;
|
||||
this.moveUpBtn.Location = new System.Drawing.Point(598, 446);
|
||||
this.moveUpBtn.Location = new System.Drawing.Point(597, 445);
|
||||
this.moveUpBtn.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.moveUpBtn.Name = "moveUpBtn";
|
||||
this.moveUpBtn.Size = new System.Drawing.Size(35, 35);
|
||||
|
||||
@@ -146,9 +146,7 @@ namespace Flowframes.IO
|
||||
|
||||
public static bool GetBool(string key)
|
||||
{
|
||||
WriteIfDoesntExist(key.ToString(), false.ToString());
|
||||
string str = Get(key, Type.Bool);
|
||||
return str.GetBool();
|
||||
return Get(key, Type.Bool).GetBool();
|
||||
}
|
||||
|
||||
public static bool GetBool(string key, bool defaultVal)
|
||||
|
||||
Reference in New Issue
Block a user