Merge pull request #535 from ElectricDanDan/master

#532: Filename text length will now check/uncheck 'Filename filter' chec...
This commit is contained in:
Jaex 2015-03-03 10:27:42 +02:00
commit add9ff9493
2 changed files with 7 additions and 0 deletions

View file

@ -97,6 +97,7 @@ private void InitializeComponent()
//
resources.ApplyResources(this.txtFilenameFilter, "txtFilenameFilter");
this.txtFilenameFilter.Name = "txtFilenameFilter";
this.txtFilenameFilter.TextChanged += new System.EventHandler(this.txtFilenameFilter_TextChanged);
//
// cbFilenameFilterMethod
//
@ -253,6 +254,7 @@ private void InitializeComponent()
//
// HistoryForm
//
this.AcceptButton = this.btnApplyFilters;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Controls.Add(this.lvHistory);

View file

@ -330,6 +330,11 @@ private void lvHistory_KeyDown(object sender, KeyEventArgs e)
e.Handled = true;
}
private void txtFilenameFilter_TextChanged(object sender, EventArgs e)
{
cbFilenameFilter.Checked = txtFilenameFilter.TextLength > 0;
}
#endregion Form events
}
}