diff --git a/.dir-locals.el b/.dir-locals.el index cca5fb8..0498dc6 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -3,4 +3,4 @@ ((nil . ((projectile-project-run-cmd . "./build/bin/presenter") (compilation-read-command . (nil)) - (projectile-project-compilation-cmd . "cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -B buld/ . && make --dir build/")))) + (projectile-project-compilation-cmd . "cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -B build/ . && make --dir build/")))) diff --git a/src/qml/presenter/SongEditor.qml b/src/qml/presenter/SongEditor.qml index 3dcea41..07d6fda 100644 --- a/src/qml/presenter/SongEditor.qml +++ b/src/qml/presenter/SongEditor.qml @@ -1,5 +1,6 @@ import QtQuick 2.13 import QtQuick.Controls 2.15 as Controls +import QtQuick.Dialogs 1.3 import QtQuick.Layouts 1.2 import org.kde.kirigami 2.13 as Kirigami import "./" as Presenter @@ -22,7 +23,10 @@ Item { anchors.fill: parent Controls.ComboBox { - model: ["VictorMono", "Calibri", "Arial", "Quicksand"] + model: Qt.fontFamilies() + implicitWidth: 300 + editable: true + onCurrentIndexChanged: showPassiveNotification(currentText) } Controls.SpinBox { editable: true