Skip to content

Commit

Permalink
サービスやEpgTimerSrv常駐からの起動直後に予約一覧のジャンル色が描画されるよう修正
Browse files Browse the repository at this point in the history
とりあえず仮に起動時にEPGデータを取得させるよう変更。
EpgTimerSrvをEpgTimer起動時に起動させる場合は、
予約一覧の表示直後に再度EPGデータが読込まれるのでやや重くなっているかも。
  • Loading branch information
tkntrec committed Sep 16, 2015
1 parent 0848af0 commit 62b055d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions EpgTimer/EpgTimer/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,13 @@ public MainWindow()
ResetTaskMenu();

CheckCmdLine();

if (CommonManager.Instance.NWMode == false)
{
//予約一覧の表示に使用したりするのであらかじめ読込んでおく(暫定処置)
CommonManager.Instance.DB.SetUpdateNotify((UInt32)UpdateNotifyItem.EpgData);
CommonManager.Instance.DB.ReloadEpgData();
}
}
catch (Exception ex)
{
Expand Down

0 comments on commit 62b055d

Please sign in to comment.