Fix grid scrolling.

This commit is contained in:
StackZ
2020-12-17 19:27:54 +01:00
parent ded6d4234d
commit a82491a63d
2 changed files with 6 additions and 20 deletions
+1 -1
View File
@@ -37,7 +37,7 @@
int dlIndex: The Download index.
*/
ArgumentParser::ArgumentParser(const std::string &file, const std::string &entry, int dlIndex) {
if (dlIndex != -1 || file != "") {
if (dlIndex != -1 && file != "") {
this->file = file;
this->entry = entry;
this->dlIndex = dlIndex;