Skip to content

Commit 40f555e

Browse files
authored
fix(ui): hide empty ProgressWidget cancel button (#1011)
1 parent 7bef302 commit 40f555e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tagstudio/qt/widgets/progress.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __init__(
2929
self.pb = QProgressDialog(
3030
labelText=label_text,
3131
minimum=minimum,
32-
cancelButtonText=cancel_button_text or "",
32+
cancelButtonText=cancel_button_text, # pyright: ignore[reportArgumentType]
3333
maximum=maximum,
3434
)
3535
self.root.addWidget(self.pb)

0 commit comments

Comments
 (0)