Added Layer function (get rid of previous focus functions)

This commit is contained in:
Bertrand Songis
2020-11-24 17:48:56 +01:00
parent b0e85ab288
commit aa9b9f0bcb
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -140,7 +140,6 @@ void ViewMain::openMenu()
new ChannelsViewMenu();
});
menu->addLine(STR_RESET_SUBMENU, [menu, this]() {
menu->revertPreviousFocus();
Menu * resetMenu = new Menu(this);
resetMenu->addLine(STR_RESET_FLIGHT, []() {
flightReset();