瀏覽代碼

Expose RefreshSongUI to public API

This is done to accomodate EnhancedSearchAndFilters, which is going to change
the behaviour of the FilterByDisplay button.
Chris 5 年之前
父節點
當前提交
79b64aec61
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      SongBrowserPlugin/UI/Browser/SongBrowserUI.cs

+ 1 - 1
SongBrowserPlugin/UI/Browser/SongBrowserUI.cs

@@ -525,7 +525,7 @@ namespace SongBrowser.UI
         /// <summary>
         /// <summary>
         /// Helper to reduce code duplication...
         /// Helper to reduce code duplication...
         /// </summary>
         /// </summary>
-        private void RefreshSongUI(bool scrollToLevel=true)
+        public void RefreshSongUI(bool scrollToLevel=true)
         {
         {
             RefreshSongList(scrollToLevel);
             RefreshSongList(scrollToLevel);
             RefreshSortButtonUI();
             RefreshSortButtonUI();