Skip to content

Commit

Permalink
Fix errors when there's no initial theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Iktwo committed Oct 2, 2016
1 parent af092e0 commit bc2ea95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qml/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ ApplicationWindow {

focus: true

source: currentTheme !== "" ? ("themes/" + currentTheme + "/ThemeMain.qml") : undefined
source: currentTheme !== "" ? ("themes/" + currentTheme + "/ThemeMain.qml") : ""
}

Loader {
Expand All @@ -109,7 +109,7 @@ ApplicationWindow {

anchors.fill: parent

sourceComponent: !QL.ApplicationInfo.hasShownInitialDialog ? introView : componentSettings
sourceComponent: !QL.ApplicationInfo.hasShownInitialDialog || currentTheme === "" ? introView : componentSettings

focus: true

Expand Down

0 comments on commit bc2ea95

Please sign in to comment.