edit_window: Always use .suggested-action style
This commit is contained in:
parent
3c7a2e2514
commit
0a3a6efa02
4 changed files with 8 additions and 6 deletions
|
|
@ -266,11 +266,6 @@ impl LpEditWindow {
|
|||
let done_sensitive = operations
|
||||
.as_ref()
|
||||
.is_some_and(|x| !x.operations().is_empty());
|
||||
if done_sensitive {
|
||||
imp.done.add_css_class("suggested-action");
|
||||
} else {
|
||||
imp.done.remove_css_class("suggested-action");
|
||||
}
|
||||
imp.done.set_sensitive(done_sensitive);
|
||||
|
||||
imp.operations.replace(operations);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue