Commit 57327db 1 parent 4c74cda commit 57327db Copy full SHA for 57327db
File tree 1 file changed +6
-6
lines changed
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 {
21
21
public bool ctrl_pressed { get ; set ; default = false ; }
22
22
public bool shift_pressed { get ; set ; default = false ; }
23
23
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 ) {
30
25
Object (
31
26
is_window_quick_add: is_window_quick_add
32
27
);
@@ -36,6 +31,11 @@ public class Layouts.QuickAdd : Adw.Bin {
36
31
item = new Objects .Item ();
37
32
item. project_id = Services . Settings . get_default (). settings. get_string (" inbox-project-id" );
38
33
34
+ if (Services . Settings . get_default (). get_new_task_position () == NewTaskPosition . TOP ) {
35
+ item. child_order = 0 ;
36
+ item. custom_order = true ;
37
+ }
38
+
39
39
if (is_window_quick_add &&
40
40
Services . Settings . get_default (). settings. get_boolean (" quick-add-save-last-project" )) {
41
41
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