mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-06-02 02:42:05 +02:00
[ui] add palette variation for dark theme
Crtl+Shift+P allows to toggle between light and dark theme on the fly
This commit is contained in:
parent
b8edf07e8d
commit
83c6d68954
3 changed files with 65 additions and 5 deletions
|
@ -175,8 +175,11 @@ class QmlInstantEngine(QQmlApplicationEngine):
|
|||
time.sleep(0.1)
|
||||
cptTry += 1
|
||||
|
||||
print("Reloading ", self._sourceFile)
|
||||
self.load(self._sourceFile)
|
||||
self.reload()
|
||||
|
||||
# Finally, read the modified file to the watch system
|
||||
self.addFile(filepath)
|
||||
|
||||
def reload(self):
|
||||
print("Reloading ", self._sourceFile)
|
||||
self.load(self._sourceFile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue