mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2025-02-25 18:55:26 -06:00
fix: reload non-stats-based info in the UI when the profile changes
This commit is contained in:
parent
21df725c42
commit
4fe3c9882e
@ -2,6 +2,8 @@ mod new_profile_dialog;
|
||||
mod profile_row;
|
||||
pub mod profile_rule_window;
|
||||
|
||||
use crate::app::APP_BROKER;
|
||||
|
||||
use super::{AppMsg, DebugSnapshot, DisableOverdrive, DumpVBios, ResetConfig, ShowGraphsWindow};
|
||||
use glib::clone;
|
||||
use gtk::prelude::*;
|
||||
@ -301,6 +303,8 @@ impl Header {
|
||||
}
|
||||
debug!("setting new profiles info: {profiles_info:?}");
|
||||
|
||||
APP_BROKER.send(AppMsg::ReloadData { full: false });
|
||||
|
||||
let mut profiles = self.profile_selector.guard();
|
||||
profiles.clear();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user