From: Youness Alaoui Date: Fri, 21 Aug 2015 19:51:25 +0000 (-0400) Subject: Fix hyperlink controls X-Git-Tag: lulzbot-15.02.1-2.03~1 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d76de05d44a72724bb1653f4712b2d8c0350f76f;p=cura.git Fix hyperlink controls Url argument apparently needs the url= key Fixes T205 --- diff --git a/Cura/gui/aboutWindow.py b/Cura/gui/aboutWindow.py index e1e12d9f..180f0d7d 100644 --- a/Cura/gui/aboutWindow.py +++ b/Cura/gui/aboutWindow.py @@ -35,7 +35,7 @@ class aboutWindow(wx.Frame): s.Add(wx.StaticText(p, -1, 'Release notes:')) url = "code.alephobjects.com/w/cura/release-notes/" - s.Add(wx.HyperlinkCtrl(p, -1, url)) + s.Add(wx.HyperlinkCtrl(p, -1, url=url)) s.Add(wx.StaticText(p, -1, '')) s.Add(wx.StaticText(p, -1, 'End solution for Open Source Fused Filament Fabrication 3D printing.'), flag=wx.TOP, border=5) diff --git a/Cura/gui/newVersionDialog.py b/Cura/gui/newVersionDialog.py index e6d9936b..4cd19584 100644 --- a/Cura/gui/newVersionDialog.py +++ b/Cura/gui/newVersionDialog.py @@ -32,7 +32,7 @@ class newVersionDialog(wx.Dialog): s.Add(wx.StaticLine(p), flag=wx.EXPAND|wx.TOP|wx.BOTTOM, border=10) s.Add(wx.StaticText(p, -1, _('Want to know what is new and cool in this version?'))) s.Add(wx.StaticText(p, -1, _('Click here for a list of changes:'))) - s.Add(wx.HyperlinkCtrl(p, -1, newVersionDialog.url)) + s.Add(wx.HyperlinkCtrl(p, -1, url=newVersionDialog.url)) s.Add(wx.StaticLine(p), flag=wx.EXPAND|wx.TOP|wx.BOTTOM, border=10) button = wx.Button(p, -1, _('OK'))