Skip to content

Commit

Permalink
remove loading indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedie committed Feb 19, 2024
1 parent da20208 commit afc1f2c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions srtranslatorGUI/src/srtranslatorGUI/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@ async def translate_async(self, widget):
self.set_loading(False)

def set_loading(self, loading):
if loading:
self.widgets["loading-indicator"].start()
else:
self.widgets["loading-indicator"].stop()

for widget in self.widgets:
widget.enabled = not loading

Expand Down
1 change: 0 additions & 1 deletion srtranslatorGUI/src/srtranslatorGUI/resources/layout.xml
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@
</ScrollContainer>
<ScrollContainer style="flex:2;">
<Box style="direction: column; padding: 10;">
<ActivityIndicator id="loading-indicator" />
<Label id="terminal" text=""></Label>
</Box>
</ScrollContainer>
Expand Down

0 comments on commit afc1f2c

Please sign in to comment.