widgets: policycheck_view typo cleanup
Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
@@ -13,7 +13,7 @@ use crate::{
|
|||||||
callbacks::policycheck_state::*,
|
callbacks::policycheck_state::*,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Macro that initializes the widget structures/variables for our view (essential!)
|
// Macro that initializes the widget structures/variables for our view
|
||||||
widget!(
|
widget!(
|
||||||
/// Dialog to enter a policy identifier/number.
|
/// Dialog to enter a policy identifier/number.
|
||||||
/// This identifier is checked agains a map of valid policy codes.
|
/// This identifier is checked agains a map of valid policy codes.
|
||||||
@@ -185,8 +185,9 @@ impl Template for PolicyCheckView {
|
|||||||
// .on_mouse_down | .on_mouse_move | .on_mouse_up (move |ctx, entity| {
|
// .on_mouse_down | .on_mouse_move | .on_mouse_up (move |ctx, entity| {
|
||||||
// state(id, states).action(Action::AddItem);
|
// state(id, states).action(Action::AddItem);
|
||||||
// })
|
// })
|
||||||
// .on_click(move |states, _| {
|
//.on_key_down(move |ctx, _| {
|
||||||
// state(id, states).action(Action::AddItem);
|
// ctx.get_mut::<PolicyCheckState>(id)
|
||||||
|
// .action(Action::ImportData);
|
||||||
// true
|
// true
|
||||||
//})
|
//})
|
||||||
.build(ctx),
|
.build(ctx),
|
||||||
|
|||||||
Reference in New Issue
Block a user