Skip to content

Commit

Permalink
Fixed footer prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
efosamark committed Jan 31, 2024
1 parent 592e77b commit de52aa7
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1598,6 +1598,27 @@ class MainMenu : public tsl::Gui {

createDirectory(packageDirectory);
createDirectory(settingsPath);

switch (ForMode) {
case Soverlays:
sorting = true;
menuMode = "overlays";
break;
case Spackages:
sorting = true;
menuMode = "packages";
break;
case Overlays:
sorting = false;
menuMode = "overlays";
break;
case Packages:
sorting = false;
menuMode = "packages";
break;
case Default:
break;
}


bool settingsLoaded = false;
Expand Down Expand Up @@ -1693,26 +1714,6 @@ class MainMenu : public tsl::Gui {
auto list = new tsl::elm::List();

//loadOverlayFiles(list);
switch (ForMode) {
case Soverlays:
sorting = true;
menuMode = "overlays";
break;
case Spackages:
sorting = true;
menuMode = "packages";
break;
case Overlays:
sorting = false;
menuMode = "overlays";
break;
case Packages:
sorting = false;
menuMode = "packages";
break;
case Default:
break;
}

int count = 0;

Expand Down

0 comments on commit de52aa7

Please sign in to comment.