mirror of
https://github.com/onionshare/onionshare.git
synced 2025-09-20 12:34:40 -04:00
Always show uploads and downloads
This commit is contained in:
parent
f32f710280
commit
c7a9db84d8
5 changed files with 7 additions and 3 deletions
|
@ -46,7 +46,7 @@ class ReceiveMode(Mode):
|
|||
self.server_status.web = self.web
|
||||
self.server_status.update()
|
||||
|
||||
# Downloads
|
||||
# Uploads
|
||||
self.uploads = Uploads(self.common)
|
||||
self.uploads_in_progress = 0
|
||||
self.uploads_completed = 0
|
||||
|
@ -86,6 +86,7 @@ class ReceiveMode(Mode):
|
|||
# Layout
|
||||
self.layout.insertWidget(0, self.receive_info)
|
||||
self.layout.insertWidget(0, self.info_widget)
|
||||
self.horizontal_layout_wrapper.addWidget(self.uploads)
|
||||
|
||||
def get_stop_server_shutdown_timeout_text(self):
|
||||
"""
|
||||
|
|
|
@ -222,7 +222,6 @@ class Uploads(QtWidgets.QScrollArea):
|
|||
|
||||
self.setWindowTitle(strings._('gui_uploads', True))
|
||||
self.setWidgetResizable(True)
|
||||
self.setMaximumHeight(600)
|
||||
self.setMinimumHeight(150)
|
||||
self.setMinimumWidth(350)
|
||||
self.setWindowIcon(QtGui.QIcon(common.get_resource_path('images/logo.png')))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue