mirror of
https://gitlab.gnome.org/World/Authenticator.git
synced 2025-03-04 08:44:40 +01:00
providers page: fix rename leftover issue
This commit is contained in:
parent
ffedc21896
commit
f101f69be7
1 changed files with 7 additions and 7 deletions
|
@ -129,7 +129,7 @@ impl ProviderPage {
|
|||
.algorithms_model
|
||||
.find_position(provider.algorithm().to_glib()),
|
||||
);
|
||||
self.on_algorithm_changed();
|
||||
self.on_method_changed();
|
||||
|
||||
self_
|
||||
.default_counter_spinbutton
|
||||
|
@ -153,15 +153,15 @@ impl ProviderPage {
|
|||
.algorithm_comborow
|
||||
.set_model(Some(&self_.algorithms_model));
|
||||
|
||||
self_
|
||||
.algorithm_comborow
|
||||
.connect_property_selected_item_notify(clone!(@weak self as page => move |_| {
|
||||
page.on_algorithm_changed();
|
||||
}));
|
||||
self_.method_comborow.connect_property_selected_item_notify(
|
||||
clone!(@weak self as page => move |_| {
|
||||
page.on_method_changed();
|
||||
}),
|
||||
);
|
||||
self_.method_comborow.set_model(Some(&self_.methods_model));
|
||||
}
|
||||
|
||||
fn on_algorithm_changed(&self) {
|
||||
fn on_method_changed(&self) {
|
||||
let self_ = imp::ProviderPage::from_instance(self);
|
||||
|
||||
let selected = OTPMethod::from(self_.method_comborow.get_selected());
|
||||
|
|
Loading…
Add table
Reference in a new issue