Skip to content

Commit

Permalink
Fix biome samples filter not working for older versions (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cubitect committed Jun 2, 2024
1 parent 8d54874 commit abcbfbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
submodules: recursive

- name: Install Qt
uses: jurplel/install-qt-action@v3
uses: jurplel/install-qt-action@v4
with:
aqtversion: '==3.1.*'
version: '5.15.2'
Expand Down
2 changes: 1 addition & 1 deletion src/searchthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ bool SearchMaster::set(QWidget *widget, const Session& s)
{
Generator tmp;
setupGenerator(&tmp, s.wi.mc, 0);
const Layer *l = getLayerForScale(&tmp, scale);
const Layer *l = getLayerForScale(&tmp, scale ? scale : 4);
if (l)
layerId = l - tmp.ls.layers;
}
Expand Down

0 comments on commit abcbfbd

Please sign in to comment.