Fixed some small UI issues

parent fede0d74
......@@ -198,7 +198,7 @@ along with GWE. If not, see <http://www.gnu.org/licenses/>.
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="tooltip_text" translatable="yes">Apply the the current offset overclog (useful to test an OC before saving it)</property>
<property name="tooltip_text" translatable="yes">Apply the the current offset overclock (useful to test an OC before saving it)</property>
<property name="use_stock">True</property>
<signal name="clicked" handler="on_apply_offsets_button_clicked" swapped="no"/>
</object>
......
......@@ -1319,7 +1319,7 @@ along with gwe. If not, see <http://www.gnu.org/licenses/>.
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Reports the current core temperature of the GPU</property>
<property name="tooltip_text" translatable="yes">Reports the current GPU core temperature</property>
<property name="label" translatable="yes">GPU TEMP</property>
<property name="single_line_mode">True</property>
<attributes>
......@@ -1377,7 +1377,7 @@ along with gwe. If not, see <http://www.gnu.org/licenses/>.
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Report the default core slowdown threshold temperatures</property>
<property name="tooltip_text" translatable="yes">Report the default core slowdown threshold temperature</property>
<property name="label" translatable="yes">SLOWDOWN TEMP</property>
<property name="single_line_mode">True</property>
<attributes>
......@@ -1406,7 +1406,7 @@ along with gwe. If not, see <http://www.gnu.org/licenses/>.
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="tooltip_text" translatable="yes">Report the maximum core slowdown threshold temperatures</property>
<property name="tooltip_text" translatable="yes">Report the maximum core slowdown threshold temperature</property>
<property name="label" translatable="yes">SHUTDOWN TEMP</property>
<property name="single_line_mode">True</property>
<attributes>
......
......@@ -354,8 +354,10 @@ class MainPresenter:
self.main_view.set_statusbar_text('%s fan profile selected' % profile.name)
def _refresh_overclock_profile_ui(self, init: bool = False, profile_id: Optional[int] = None) -> None:
gpu_index = 0
current: Optional[CurrentOverclockProfile] = None
if init and self._settings_interactor.get_bool('settings_load_last_profile'):
if init and self._settings_interactor.get_bool('settings_load_last_profile') \
and self._latest_status.gpu_status_list[gpu_index].overclock.available:
current = CurrentOverclockProfile.get_or_none()
if current is not None:
self._overclock_profile_selected = current.profile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment