Explorar el Código

add return in Emulator ,Click

cuu hace 5 años
padre
commit
60a85739fa
Se han modificado 2 ficheros con 4 adiciones y 3 borrados
  1. 2 2
      sys.py/UI/Emulator/fav_list_page.py
  2. 2 1
      sys.py/UI/Emulator/rom_list_page.py

+ 2 - 2
sys.py/UI/Emulator/fav_list_page.py

@@ -338,9 +338,9 @@ class FavListPage(Page):
                     self._Screen.PushPage(self._RomSoConfirmDownloadPage)
                     self._Screen.Draw()
                     self._Screen.SwapAndShow()
-                    return            
 
-    
+            return 
+        
         self._Screen.Draw()
         self._Screen.SwapAndShow()
 

+ 2 - 1
sys.py/UI/Emulator/rom_list_page.py

@@ -378,7 +378,8 @@ class RomListPage(Page):
                     self._Screen.PushPage(self._RomSoConfirmDownloadPage)
                     self._Screen.Draw()
                     self._Screen.SwapAndShow()
-                    return
+                    
+            return 
             
         self._Screen.Draw()
         self._Screen.SwapAndShow()