@@ -233,10 +233,10 @@ public bool IsProfileFilterSet
233233 OnPropertyChanged ( ) ;
234234 }
235235 }
236-
236+
237237 private readonly GroupExpanderStateStore _groupExpanderStateStore = new ( ) ;
238238 public GroupExpanderStateStore GroupExpanderStateStore => _groupExpanderStateStore ;
239-
239+
240240 private bool _canProfileWidthChange = true ;
241241 private double _tempProfileWidth ;
242242
@@ -492,6 +492,8 @@ private void ClearSearchAction()
492492
493493 private void OpenProfileFilterAction ( )
494494 {
495+ ConfigurationManager . Current . IsProfileFilterPopupOpen = true ;
496+
495497 ProfileFilterIsOpen = true ;
496498 }
497499
@@ -517,7 +519,7 @@ private void ClearProfileFilterAction()
517519 IsProfileFilterSet = false ;
518520 ProfileFilterIsOpen = false ;
519521 }
520-
522+
521523 public ICommand ExpandAllProfileGroupsCommand => new RelayCommand ( _ => ExpandAllProfileGroupsAction ( ) ) ;
522524
523525 private void ExpandAllProfileGroupsAction ( )
@@ -531,7 +533,7 @@ private void CollapseAllProfileGroupsAction()
531533 {
532534 SetIsExpandedForAllProfileGroups ( false ) ;
533535 }
534-
536+
535537 public ICommand OpenSettingsCommand => new RelayCommand ( _ => OpenSettingsAction ( ) ) ;
536538
537539 private static void OpenSettingsAction ( )
@@ -674,7 +676,7 @@ private void SetIsExpandedForAllProfileGroups(bool isExpanded)
674676 foreach ( var group in Profiles . Groups . Cast < CollectionViewGroup > ( ) )
675677 GroupExpanderStateStore [ group . Name . ToString ( ) ] = isExpanded ;
676678 }
677-
679+
678680 private void ResizeProfile ( bool dueToChangedSize )
679681 {
680682 _canProfileWidthChange = false ;
@@ -766,7 +768,7 @@ private void CreateTags()
766768 ProfileFilterTags . Add ( new ProfileFilterTagsInfo ( false , tag ) ) ;
767769 }
768770 }
769-
771+
770772 private void SetProfilesView ( ProfileFilterInfo filter , ProfileInfo profile = null )
771773 {
772774 Profiles = new CollectionViewSource
@@ -809,6 +811,11 @@ private void RefreshProfiles()
809811 } , SelectedProfile ) ;
810812 }
811813
814+ public void OnProfileFilterClosed ( )
815+ {
816+ ConfigurationManager . Current . IsProfileFilterPopupOpen = false ;
817+ }
818+
812819 public void OnProfileManagerDialogOpen ( )
813820 {
814821 ConfigurationManager . OnDialogOpen ( ) ;
@@ -841,7 +848,7 @@ private void WriteDefaultProfileToRegistry()
841848 private void ProfileManager_OnProfilesUpdated ( object sender , EventArgs e )
842849 {
843850 CreateTags ( ) ;
844-
851+
845852 RefreshProfiles ( ) ;
846853 }
847854
0 commit comments