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

Commit f2da9d4

Browse files
committed
fixed crash with empty item lists
1 parent 2ee3404 commit f2da9d4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/ramobjects/ramstep.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,8 @@ void RamStep::computeEstimation()
327327
if (t == ShotProduction) items = proj->shots();
328328
else items = proj->assets();
329329

330+
if (items->rowCount() == 0) return;
331+
330332
m_estimation = 0;
331333
m_completionRatio = 0;
332334

sync_todo.txt

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

0 commit comments

Comments
 (0)