Primitivus: fixed "info" showDialog
This commit is contained in:
parent
abb0a02812
commit
b684bd093b
1 changed files with 0 additions and 1 deletions
|
|
@ -361,7 +361,6 @@ class PrimitivusApp(QuickApp):
|
|||
def showDialog(self, message, title="", type="info", answer_cb = None, answer_data = None):
|
||||
if type == 'info':
|
||||
popup = sat_widgets.Alert(unicode(title), unicode(message), ok_cb=answer_cb or self.removePopUp) #FIXME: remove unicode here when DBus Bridge will no return dbus.String anymore
|
||||
flags = wx.OK | wx.ICON_INFORMATION
|
||||
elif type == 'error':
|
||||
popup = sat_widgets.Alert(unicode(title), unicode(message), ok_cb=answer_cb or self.removePopUp) #FIXME: remove unicode here when DBus Bridge will no return dbus.String anymore
|
||||
elif type == 'yes/no':
|
||||
|
|
|
|||
Loading…
Reference in a new issue