mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 01:00:02 +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 super::WidgetAction;
|
||||
use crate::app::browser::action::Action as BrowserAction;
|
||||
use crate::app::browser::window::action::Action as WindowAction;
|
||||
use crate::profile::Profile;
|
||||
use crate::{
|
||||
app::browser::{action::Action as BrowserAction, window::action::Action as WindowAction},
|
||||
Profile,
|
||||
};
|
||||
use gtk::{glib::Uri, prelude::BoxExt, Box, Orientation};
|
||||
use std::rc::Rc;
|
||||
|
||||
@ -85,7 +86,7 @@ impl Form {
|
||||
|
||||
// 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 {
|
||||
match self.list.selected().value_enum() {
|
||||
Value::GeneratePem => self.name.is_valid(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user