mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 09:59:41 +02:00
fix: pause/resume button showing up twice
This commit is contained in:
@@ -206,8 +206,7 @@ class MainWindow(QtWidgets.QMainWindow, QWidget):
|
|||||||
status = magnetdl.status()
|
status = magnetdl.status()
|
||||||
|
|
||||||
if col == 0:
|
if col == 0:
|
||||||
is_paused = magnetdl.status().paused
|
pass
|
||||||
return "▶︎" if is_paused else "⏸︎"
|
|
||||||
elif col == 1:
|
elif col == 1:
|
||||||
return status.name if status.has_metadata else "Fetching metadata..."
|
return status.name if status.has_metadata else "Fetching metadata..."
|
||||||
elif col == 2:
|
elif col == 2:
|
||||||
|
|||||||
Reference in New Issue
Block a user