mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
hierarchical_style_update and discard_changes are abstract methods now
This commit is contained in:
parent
43da05a618
commit
82570533d0
1 changed files with 6 additions and 8 deletions
|
|
@ -87,10 +87,9 @@ class ConfigWidget:
|
|||
).format(self.__class__.__name__))
|
||||
|
||||
def discard_changes(self, is_source=False):
|
||||
print("discard_changes")
|
||||
# raise NotImplementedError(
|
||||
# "Method `discard_changes` not implemented!"
|
||||
# )
|
||||
raise NotImplementedError(
|
||||
"Method `discard_changes` not implemented!"
|
||||
)
|
||||
|
||||
def remove_overrides(self, is_source=False):
|
||||
print("remove_overrides")
|
||||
|
|
@ -99,10 +98,9 @@ class ConfigWidget:
|
|||
# )
|
||||
|
||||
def hierarchical_style_update(self):
|
||||
print("hierarchical_style_update")
|
||||
# raise NotImplementedError(
|
||||
# "Method `hierarchical_style_update` not implemented!"
|
||||
# )
|
||||
raise NotImplementedError(
|
||||
"Method `hierarchical_style_update` not implemented!"
|
||||
)
|
||||
|
||||
def mouseReleaseEvent(self, event):
|
||||
if event.button() == QtCore.Qt.RightButton:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue