Browse Source

add return in Emulator ,Click

cuu 5 years ago
parent
commit
60a85739fa
2 changed files with 4 additions and 3 deletions
  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()