CC-3626 : Playlist Builder -> you can not add files from Library by using "+" button (if default Fades were changed in Preferences)
This commit is contained in:
parent
169a4827e4
commit
ef908ee894
2 changed files with 9 additions and 2 deletions
|
@ -151,7 +151,14 @@ class Application_Model_Preference
|
|||
}
|
||||
|
||||
public static function GetDefaultFade() {
|
||||
return self::GetValue("default_fade");
|
||||
$fade = self::GetValue("default_fade");
|
||||
|
||||
if ($fade === "") {
|
||||
return null;
|
||||
}
|
||||
|
||||
$fade = number_format($fade, 6);
|
||||
return $fade;
|
||||
}
|
||||
|
||||
public static function SetDefaultTransitionFade($fade) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue