fix error with info notes
This commit is contained in:
@@ -99,7 +99,7 @@ class RT_OT_scene_checker(Operator):
|
||||
# Show in viewport
|
||||
# title = "Changed Settings" if apply else "Checked Settings (nothing changed)"
|
||||
title = "Visibility checks report (details in console)"
|
||||
fn.show_message_box(problems, _title = title, _icon = 'INFO')
|
||||
fn.show_message_box(problems, title=title, icon='INFO')
|
||||
else:
|
||||
self.report({'INFO'}, 'All good')
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ class RT_OT_info_note(Operator):
|
||||
def execute(self, context):
|
||||
## Split text in list of lines to display
|
||||
lines = self.text.split('\n')
|
||||
fn.show_message_box(_message=lines, _title=self.title, _icon=self.icon)
|
||||
fn.show_message_box(message=lines, title=self.title, icon=self.icon)
|
||||
return {"FINISHED"}
|
||||
|
||||
# Not registered yet
|
||||
|
||||
Reference in New Issue
Block a user