File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,7 @@ public class Layouts.QuickAdd : Adw.Bin {
2121 public bool ctrl_pressed { get ; set ; default = false ; }
2222 public bool shift_pressed { get ; set ; default = false ; }
2323
24- public QuickAdd (bool is_window_quick_add = false ) {
25- if (Services . Settings . get_default (). get_new_task_position () == NewTaskPosition . TOP ) {
26- item. child_order = 0 ;
27- item. custom_order = true ;
28- }
29-
24+ public QuickAdd (bool is_window_quick_add = false ) {
3025 Object (
3126 is_window_quick_add: is_window_quick_add
3227 );
@@ -36,6 +31,11 @@ public class Layouts.QuickAdd : Adw.Bin {
3631 item = new Objects .Item ();
3732 item. project_id = Services . Settings . get_default (). settings. get_string (" inbox-project-id" );
3833
34+ if (Services . Settings . get_default (). get_new_task_position () == NewTaskPosition . TOP ) {
35+ item. child_order = 0 ;
36+ item. custom_order = true ;
37+ }
38+
3939 if (is_window_quick_add &&
4040 Services . Settings . get_default (). settings. get_boolean (" quick-add-save-last-project" )) {
4141 var project = Services . Database . get_default (). get_project (Services . Settings . get_default (). settings. get_string (" quick-add-project-selected" ));
You can’t perform that action at this time.
0 commit comments