fix: rendering confirmation options

This commit is contained in:
Vinicius Moreira
2019-08-25 20:26:34 -03:00
parent 76e78a821e
commit 0f33597168
3 changed files with 8 additions and 9 deletions

View File

@@ -46,7 +46,7 @@ class AsyncAction(QThread, ProcessWatcher):
if msg:
self.signal_output.emit(msg)
def show_message(self, title: str, body: str, type_: MessageType):
def show_message(self, title: str, body: str, type_: MessageType = MessageType.INFO):
self.signal_message.emit({'title': title, 'body': body, 'type': type_})
def notify_finished(self, res: object):