Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
moonshadow565 committed Aug 28, 2022
1 parent 5582e8e commit 5728061
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cslol-tools/lib/lol/wad/mounted.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ auto Mounted::read_from_game_file(fs::path const& path, fs::path const& game_pat
return "Unknown wad version";
}
if (toc.entries.size() == 0) {
return "Empty wad file";
return nullptr;
}
archive = Archive::read_from_toc(src, toc);
archive.mark_optimal();
Expand Down
2 changes: 1 addition & 1 deletion src/qml/CSLOLDialogSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Dialog {
ScrollView {
Layout.fillHeight: true
Layout.fillWidth: true
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
ScrollBar.horizontal.policy: ScrollBar.AsNeeded
ScrollBar.vertical.policy: ScrollBar.AlwaysOn
padding: ScrollBar.vertical.width
clip: true
Expand Down
1 change: 0 additions & 1 deletion src/qml/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,6 @@ ApplicationWindow {
cslolModsView.refereshedMods(mods)
}
onUpdatedMods: function(mods) {
console.log("updated: " + JSON.stringify(mods))
cslolDialogUpdateMods.updatedMods = mods
cslolDialogUpdateMods.open()
}
Expand Down

0 comments on commit 5728061

Please sign in to comment.