Fixed a few issues

This commit is contained in:
Manuel Cortez 2018-02-06 16:47:47 -06:00
parent 79490f8346
commit fac228dec1
2 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,6 @@ class reply(tweet):
if len(users) > 0: if len(users) > 0:
widgetUtils.connect_event(self.message.mentionAll, widgetUtils.CHECKBOX, self.mention_all) widgetUtils.connect_event(self.message.mentionAll, widgetUtils.CHECKBOX, self.mention_all)
self.message.enable_button("mentionAll") self.message.enable_button("mentionAll")
self.message.set("mentionAll", True)
self.mention_all() self.mention_all()
self.message.set_cursor_at_end() self.message.set_cursor_at_end()
self.text_processor() self.text_processor()

View File

@ -243,6 +243,7 @@ class reply(textLimited):
self.mainBox.Add(self.textBox, 0, wx.ALL, 5) self.mainBox.Add(self.textBox, 0, wx.ALL, 5)
self.usersbox = wx.BoxSizer(wx.VERTICAL) self.usersbox = wx.BoxSizer(wx.VERTICAL)
self.mentionAll = wx.CheckBox(self.panel, -1, _(u"&Mention to all"), size=wx.DefaultSize) self.mentionAll = wx.CheckBox(self.panel, -1, _(u"&Mention to all"), size=wx.DefaultSize)
self.mentionAll.Disable()
self.usersbox.Add(self.mentionAll, 0, wx.ALL, 5) self.usersbox.Add(self.mentionAll, 0, wx.ALL, 5)
self.checkboxes = [] self.checkboxes = []
for i in self.users: for i in self.users: