Commit 7eb00ee 1 parent 1919a96 commit 7eb00ee Copy full SHA for 7eb00ee
File tree 4 files changed +15
-8
lines changed
4 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 71
71
<description translatable =" no" >
72
72
<ul >
73
73
<li >Improved performance when using the Completed view.</li >
74
+ <li >Added the option to close an open task with the ESC key.</li >
74
75
<li >Added the option to delete a completed task from the context menu.</li >
75
76
<li >The sync keyboard shortcut also syncs your Nextcloud account.</li >
76
77
<li >Fixed error when viewing calendar event as a task in Nextcloud.</li >
Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ public class Layouts.ItemRow : Layouts.ItemBase {
129
129
hide_loading_button. add_css_class (" no-padding" );
130
130
hide_loading_revealer. reveal_child = false ;
131
131
labels_summary. check_revealer ();
132
+ print (" edit - check_revealer\n " );
132
133
133
134
update_request ();
134
135
@@ -672,9 +673,12 @@ public class Layouts.ItemRow : Layouts.ItemBase {
672
673
} else {
673
674
select_revealer. reveal_child = false ;
674
675
checked_button_revealer. reveal_child = true ;
675
- labels_summary. check_revealer ();
676
- build_drag_and_drop ();
677
676
677
+ if (! edit) {
678
+ labels_summary. check_revealer ();
679
+ }
680
+
681
+ build_drag_and_drop ();
678
682
select_checkbutton. active = false ;
679
683
}
680
684
});
Original file line number Diff line number Diff line change @@ -413,15 +413,15 @@ public class MainWindow : Adw.ApplicationWindow {
413
413
if (scheduled_view != null ) {
414
414
scheduled_view. prepare_new_item (content);
415
415
}
416
- } else if (views_stack . visible_child_name . has_prefix ( " filter-view " )) {
417
- Views . Filter ? filter_view = (Views . Filter ) views_stack. get_child_by_name ( " filter-view " ) ;
416
+ } else {
417
+ Views . Filter ? filter_view = (Views . Filter ) views_stack. visible_child ;
418
418
if (filter_view != null ) {
419
419
filter_view. prepare_new_item (content);
420
+ } else {
421
+ var dialog = new Dialogs .QuickAdd ();
422
+ dialog. update_content (content);
423
+ dialog. show ();
420
424
}
421
- } else {
422
- var dialog = new Dialogs .QuickAdd ();
423
- dialog. update_content (content);
424
- dialog. show ();
425
425
}
426
426
}
427
427
Original file line number Diff line number Diff line change @@ -152,6 +152,8 @@ public class Views.Filter : Adw.Bin {
152
152
dialog. set_due (Util . get_default (). get_format_date (
153
153
new GLib .DateTime .now_local (). add_days (1 )
154
154
));
155
+ } else if (filter is Objects . Filters . Pinboard ) {
156
+ dialog. set_pinned (true );
155
157
}
156
158
157
159
dialog. show ();
You can’t perform that action at this time.
0 commit comments