diff --git a/src/tribler-core/tribler_core/config/tribler_config.spec b/src/tribler-core/tribler_core/config/tribler_config.spec index b7829235836..18934689df1 100644 --- a/src/tribler-core/tribler_core/config/tribler_config.spec +++ b/src/tribler-core/tribler_core/config/tribler_config.spec @@ -100,7 +100,7 @@ poll_interval = integer(min=1, default=5) history_size = integer(min=1, default=20) [credit_mining] -enabled = boolean(default=True) +enabled = boolean(default=False) sources = string_list(default=list()) max_disk_space = integer(min=0, default=53687091200) diff --git a/src/tribler-gui/tribler_gui/qt_resources/mainwindow.ui b/src/tribler-gui/tribler_gui/qt_resources/mainwindow.ui index 68b5d4eb71e..8f74a1d7d85 100644 --- a/src/tribler-gui/tribler_gui/qt_resources/mainwindow.ui +++ b/src/tribler-gui/tribler_gui/qt_resources/mainwindow.ui @@ -1151,7 +1151,7 @@ background-color: #e67300; - 0 + 2 @@ -1553,8 +1553,8 @@ border-top: 1px solid #555; 0 0 - 300 - 646 + 854 + 710 @@ -2905,7 +2905,7 @@ color: white; - Enable token mining + Enable token mining (requires Tribler restart) @@ -4691,8 +4691,8 @@ color: white 0 0 - 321 - 259 + 856 + 387 diff --git a/src/tribler-gui/tribler_gui/widgets/subscriptionswidget.py b/src/tribler-gui/tribler_gui/widgets/subscriptionswidget.py index d0c29fbb016..495261145a0 100644 --- a/src/tribler-gui/tribler_gui/widgets/subscriptionswidget.py +++ b/src/tribler-gui/tribler_gui/widgets/subscriptionswidget.py @@ -65,7 +65,9 @@ def update_subscribe_button(self, remote_response=None): # Disable channel control buttons for LEGACY_ENTRY channels hide_controls = self.contents_widget.model.channel_info["status"] == 1000 self.subscribe_button.setHidden(hide_controls) - self.credit_mining_button.setHidden(hide_controls) + if hide_controls: + # This button could be hidden before for other reasons, that's why we only hide, but not _unhide_ it here + self.credit_mining_button.setHidden(True) def on_subscribe_button_click(self): TriblerNetworkRequest(