ui: correct naming of profiles

This commit is contained in:
PancakeTAS 2025-07-25 22:05:48 +02:00
parent f7c88e2a31
commit 39665a90d2
No known key found for this signature in database
4 changed files with 6 additions and 6 deletions

View file

@ -39,10 +39,10 @@
<property name="icon-name">folder-symbolic</property>
</object>
</child>
<!--General Properties: Preset name -->
<!--General Properties: Profile name -->
<child>
<object class="LSPrefEntry" id="preset_name">
<property name="opt-name">Preset name</property>
<object class="LSPrefEntry" id="profile_name">
<property name="opt-name">Profile name</property>
<property name="opt-subtitle">Command name used for automatically activating in games.</property>
<property name="icon-name">search-symbolic</property>
</object>

View file

@ -19,7 +19,7 @@ fn update_game<F: FnOnce(&mut config::TomlGame)>(update: F) {
///
pub fn register_signals(sidebar_: pane::PaneSidebar, main: &pane::PaneMain) {
let main = main.imp();
let exe = main.preset_name.imp();
let exe = main.profile_name.imp();
let multiplier = main.multiplier.imp();
let flow_scale = main.flow_scale.imp();
let performance_mode = main.performance_mode.imp();

View file

@ -21,7 +21,7 @@ pub fn register_signals(sidebar_: &pane::PaneSidebar, main: pane::PaneMain) {
// update main pane
let main = main.imp();
let exe = main.preset_name.imp();
let exe = main.profile_name.imp();
let multiplier = main.multiplier.imp();
let flow_scale = main.flow_scale.imp();
let performance_mode = main.performance_mode.imp();

View file

@ -9,7 +9,7 @@ pub struct PaneMain {
#[template_child]
pub dll: TemplateChild<PrefEntry>,
#[template_child]
pub preset_name: TemplateChild<PrefEntry>,
pub profile_name: TemplateChild<PrefEntry>,
#[template_child]
pub multiplier: TemplateChild<PrefNumber>,
#[template_child]