OSDN Git Service

PATCH: [ 1373037 ] Fix filter dialog to correctly add new filters
authorKimmo Varis <kimmov@gmail.com>
Tue, 6 Dec 2005 14:48:27 +0000 (14:48 +0000)
committerKimmo Varis <kimmov@gmail.com>
Tue, 6 Dec 2005 14:48:27 +0000 (14:48 +0000)
 - submitted by Perry

Src/Changes.txt
Src/FileFiltersDlg.cpp

index a9bc43f..6b06bb1 100644 (file)
@@ -2,6 +2,9 @@
  PATCH: [ 1372589 ] Document tildas in config
   Submitted by Perry
   Src: ConfigLog.cpp
+ PATCH: [ 1373037 ] Fix filter dialog to correctly add new filters
+  Submitted by Perry
+  Src: FileFiltersDlg.cpp
 
 2005-12-04 Perry
  PATCH: [ 1372974 ] Make local function "GuessEncoding_from_bytes" static
index ccf1632..ffd538f 100644 (file)
@@ -400,6 +400,7 @@ void FileFiltersDlg::OnBnClickedFilterfileNewbutton()
                // Remove all from filterslist and re-add so we can update UI
                CString selected;
                m_Filters->RemoveAll();
+               theApp.m_globalFileFilter.LoadAllFileFilters();
                theApp.m_globalFileFilter.GetFileFilters(m_Filters, selected);
 
                UpdateFiltersList();