File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
HMCL/src/main/java/org/jackhuang/hmcl/ui Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -202,8 +202,9 @@ public void showModpackDownloads() {
202202 tab .select (modpackTab , false );
203203 }
204204
205- public void showResourcePackDownloads () {
205+ public DownloadListPage showResourcePackDownloads () {
206206 tab .select (resourcePackTab , false );
207+ return resourcePackTab .getNode ();
207208 }
208209
209210 public DownloadListPage showModDownloads () {
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ public void onAddFiles() {
164164 }
165165
166166 private void onDownload () {
167- Controllers .getDownloadPage ().showResourcePackDownloads ();
167+ Controllers .getDownloadPage ().showResourcePackDownloads (). selectVersion ( instanceId ) ;
168168 Controllers .navigate (Controllers .getDownloadPage ());
169169 }
170170
You can’t perform that action at this time.
0 commit comments