Commit 23c7443f29c19d6bc984e29b88e8c3c38d560b56

Authored by 김태훈
Committed by 고영탁
1 parent f0dd049285
Exists in master and in 2 other branches fhd, fhd-demo

다중 요리의 최근 요리 정렬 순서 변경

- 요리 횟수가 동수면 그중 최근 요리를 앞으로
Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
app/gui/oven_control/multicookrecorder.cpp
@@ -60,7 +60,8 @@ void record(MultiCook *cook) @@ -60,7 +60,8 @@ void record(MultiCook *cook)
60 } 60 }
61 } 61 }
62 62
63 - sortedList.append(Entry{cook->clone(), 1}); 63 + sortedList.prepend(Entry{cook->clone(), 1});
  64 + sort();
64 } 65 }
65 66
66 QList<MultiCook *> list() 67 QList<MultiCook *> list()