mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 09:10:08 +00:00
group namespaces, update comments
This commit is contained in:
parent
2c30dfcdc9
commit
f0feeec563
@ -13,9 +13,10 @@ use name::Name;
|
|||||||
use save::Save;
|
use save::Save;
|
||||||
|
|
||||||
use super::WidgetAction;
|
use super::WidgetAction;
|
||||||
use crate::app::browser::action::Action as BrowserAction;
|
use crate::{
|
||||||
use crate::app::browser::window::action::Action as WindowAction;
|
app::browser::{action::Action as BrowserAction, window::action::Action as WindowAction},
|
||||||
use crate::profile::Profile;
|
Profile,
|
||||||
|
};
|
||||||
use gtk::{glib::Uri, prelude::BoxExt, Box, Orientation};
|
use gtk::{glib::Uri, prelude::BoxExt, Box, Orientation};
|
||||||
use std::rc::Rc;
|
use std::rc::Rc;
|
||||||
|
|
||||||
@ -85,7 +86,7 @@ impl Form {
|
|||||||
|
|
||||||
// Actions
|
// Actions
|
||||||
|
|
||||||
/// Validate `Self` components match current selection
|
/// Get `Apply` button sensitivity to disable when it does not change anything
|
||||||
pub fn is_applicable(&self) -> bool {
|
pub fn is_applicable(&self) -> bool {
|
||||||
match self.list.selected().value_enum() {
|
match self.list.selected().value_enum() {
|
||||||
Value::GeneratePem => self.name.is_valid(),
|
Value::GeneratePem => self.name.is_valid(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user