Skip to content

Commit

Permalink
チューナー不足のエラーが出ている予約を無効にしても予約タブの警告アイコンが消えなかったのを修正
Browse files Browse the repository at this point in the history
無効状態の予約は情報が更新されないので、チューナー不足が起きている予約を無効にするとチューナー不足の情報が残ってしまう。
警告アイコンの更新時に無効の予約は無視することで対処した。
  • Loading branch information
niisaka authored and Velmy committed Sep 22, 2013
1 parent c66e166 commit 23aad69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions EpgTimer/EpgTimer/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1511,6 +1511,7 @@ public void UpdateReserveData()
bool ReserveWarning = false;
foreach (ReserveData info in CommonManager.Instance.DB.ReserveList.Values)
{
if (info.RecSetting.RecMode == 5) continue;
if (info.OverlapMode == 1) ReserveWarning = true;
if (info.OverlapMode == 2) ReserveError = true;
}
Expand Down
1 change: 1 addition & 0 deletions EpgTimerNW/EpgTimerNW/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1588,6 +1588,7 @@ public void UpdateReserveData()
bool ReserveWarning = false;
foreach (ReserveData info in CommonManager.Instance.DB.ReserveList.Values)
{
if (info.RecSetting.RecMode == 5) continue;
if (info.OverlapMode == 1) ReserveWarning = true;
if (info.OverlapMode == 2) ReserveError = true;
}
Expand Down

0 comments on commit 23aad69

Please sign in to comment.