Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
fixed crash with empty item lists
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico-Duduf committed Nov 30, 2022
1 parent 2ee3404 commit f2da9d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ramobjects/ramstep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ void RamStep::computeEstimation()
if (t == ShotProduction) items = proj->shots();
else items = proj->assets();

if (items->rowCount() == 0) return;

m_estimation = 0;
m_completionRatio = 0;

Expand Down
1 change: 1 addition & 0 deletions sync_todo.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- On close full sync: ignore ramstatushistory to speed up things a bit
- syncing ui better feedback : a status/connected icon + message user@server ( ... )
- project pipeline:
- RamPipe should contain project uuid
Expand Down

0 comments on commit f2da9d4

Please sign in to comment.