work between tasks of workgroup but fails otherwise
This commit is contained in:
@@ -92,9 +92,13 @@ while True:
|
||||
|
||||
# if current_task in work_task_ids and current_task != current_work_task:
|
||||
if current_task not in work_task_ids:
|
||||
current_task = current_work_task
|
||||
state.save("current", task=current_task)
|
||||
task.db_to_file_as_is(None)
|
||||
# Enforce work task if current task is not in workspace
|
||||
if current_task != current_work_task:
|
||||
current_task = current_work_task
|
||||
state.save("current", task=current_task)
|
||||
task.db_to_file_as_is(None)
|
||||
elif current_task != current_work_task:
|
||||
# Update work state when switching to a different valid task
|
||||
state.update_work_state(work_desktops[current_workspace], current_task)
|
||||
|
||||
# regular flow
|
||||
|
||||
Reference in New Issue
Block a user