|
@@ -426,7 +426,8 @@ class KMAddBackgroundView: KMBaseXibView, NSComboBoxDelegate {
|
|
|
if let color = background.color {
|
|
|
tBackground.color = color
|
|
|
tBackground.type = .color
|
|
|
- } else if background.imagePath.count != 0 {
|
|
|
+ }
|
|
|
+ if background.imagePath.count != 0 {
|
|
|
let image = NSImage(contentsOfFile: background.imagePath)!
|
|
|
tBackground.setImage(image)
|
|
|
tBackground.type = .image
|