mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 17:45:56 +08:00
Merge pull request #14928 from cgobat/bugfix/raw-regex-str
Fix non-raw RegEx pattern string
This commit is contained in:
commit
4957f87f29
@ -69,7 +69,7 @@ class ObjectsModel(ListModel):
|
|||||||
self._group_name_template = catalog.i18nc("@label", "Group #{group_nr}")
|
self._group_name_template = catalog.i18nc("@label", "Group #{group_nr}")
|
||||||
self._group_name_prefix = self._group_name_template.split("#")[0]
|
self._group_name_prefix = self._group_name_template.split("#")[0]
|
||||||
|
|
||||||
self._naming_regex = re.compile("^(.+)\(([0-9]+)\)$")
|
self._naming_regex = re.compile(r"^(.+)\(([0-9]+)\)$")
|
||||||
|
|
||||||
def setActiveBuildPlate(self, nr: int) -> None:
|
def setActiveBuildPlate(self, nr: int) -> None:
|
||||||
if self._build_plate_number != nr:
|
if self._build_plate_number != nr:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user