fixup color applying again

This commit is contained in:
lucy 2026-09-11 01:46:02 +02:00
commit ea5f49426d
4 changed files with 5 additions and 6 deletions

View file

@ -52,7 +52,7 @@ Rectangle {
StyledText {
id: schemeName
anchors.centerIn: parent
text: container.modelData.fileName
text: container.modelData.fileBaseName
}
MouseArea {
id: schemeSetter
@ -60,7 +60,7 @@ Rectangle {
acceptedButtons: Qt.LeftButton
cursorShape: Qt.PointingHandCursor
onClicked: {
setTheme.themeName = modelData.fileName;
setTheme.themeName = modelData.fileBaseName;
setTheme.running = true;
Config.cfg.appearance.currentTheme = modelData.fileName;
}

View file

@ -35,7 +35,6 @@ BarComponent {
anchors.centerIn: parent
text: parent.modelData.name
color: parent.modelData.shouldDisplay ? parent.modelData.active ? Colors.c.base00 : Colors.c.base05 : Colors.c.base03
font.bold: parent.modelData.active
}
}
}