mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2026-04-22 02:11:43 +00:00
ui: correct naming of profiles
This commit is contained in:
parent
f7c88e2a31
commit
39665a90d2
4 changed files with 6 additions and 6 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue