Boxes blur, more styling

This commit is contained in:
miruka
2019-04-28 00:44:55 -04:00
parent 8a714fb7a0
commit d3749af4bc
13 changed files with 99 additions and 56 deletions

View File

@@ -62,9 +62,9 @@ class Engine(QQmlApplicationEngine):
def reload_qml(self) -> None:
self.clearComponentCache()
loader = self.rootObjects()[0].findChild(QObject, "UILoader")
source = loader.property("source")
loader.setProperty("source", None)
self.clearComponentCache()
loader.setProperty("source", source)
logging.info("Reloaded: %s", source)