Fix crash on startup when adjusting volume before volume control loaded

This commit is contained in:
Dean Herbert 2018-05-11 22:57:36 +09:00
parent 18de235486
commit a14531b9a4
1 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,8 @@ private void settingChanged()
public bool Adjust(GlobalAction action)
{
if (!IsLoaded) return false;
switch (action)
{
case GlobalAction.DecreaseVolume: