Skip to content

Commit

Permalink
add clear numeric filter data on clear
Browse files Browse the repository at this point in the history
  • Loading branch information
LiorBanaiKama committed Jun 22, 2021
1 parent bedd015 commit 411d894
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Analogy/UserControls/UCLogs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.Data.Mask;
using DevExpress.XtraEditors.Mask;

namespace Analogy
Expand Down Expand Up @@ -225,7 +226,6 @@ private async void UCLogs_Load(object sender, EventArgs e)
gridControl.DataSource = _messageData.DefaultView;
_bookmarkedMessages = Utils.DataTableConstructor();
gridControlBookmarkedMessages.DataSource = _bookmarkedMessages;

if (Settings.SaveSearchFilters)
{
string? includeText = string.IsNullOrEmpty(Settings.IncludeText) || Settings.IncludeText == txtbInclude.Properties.NullText ? null : Settings.IncludeText;
Expand Down Expand Up @@ -716,6 +716,7 @@ private void GridView_ShownEditor(object sender, System.EventArgs e)
((TextEdit)view.ActiveEditor).Properties.MaskSettings.Configure<MaskSettings.Numeric>(settings =>
{
settings.MaskExpression = "d";
settings.ValueAfterDelete = NumericMaskManager.ValueAfterDelete.Null;
});
}
private void RefreshTimeOffset()
Expand Down

0 comments on commit 411d894

Please sign in to comment.