mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 19:15:53 +08:00
CuraSceneController.py : Fix problem with log message and use f-string
- Correct log message (we want to log the "selected" build plate) - Use f-string and debug method for Logger instead of "Old Style" string formatting.
This commit is contained in:
parent
22baf8f34e
commit
bb0870008e
@ -139,7 +139,7 @@ class CuraSceneController(QObject):
|
|||||||
def setActiveBuildPlate(self, nr):
|
def setActiveBuildPlate(self, nr):
|
||||||
if nr == self._active_build_plate:
|
if nr == self._active_build_plate:
|
||||||
return
|
return
|
||||||
Logger.log("d", "Select build plate: %s" % nr)
|
Logger.debug(f"Selected build plate: {nr}")
|
||||||
self._active_build_plate = nr
|
self._active_build_plate = nr
|
||||||
Selection.clear()
|
Selection.clear()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user