diff options
author | Youness Alaoui <kakaroto@kakaroto.homelinux.net> | 2015-08-31 20:44:45 +0300 |
---|---|---|
committer | Youness Alaoui <kakaroto@kakaroto.homelinux.net> | 2015-08-31 20:44:45 +0300 |
commit | f27e9055a89543ba961179391f9be1b0d8cdbe7c (patch) | |
tree | da175bab617041acc3a60819b9c7d8fa156ee507 | |
parent | edc92026efb1d96b0a11d048a8e5fc85f59e185f (diff) |
Finally fix the HyperlinkCtrl widget arguments.
Fixes T223
-rw-r--r-- | Cura/gui/aboutWindow.py | 2 | ||||
-rw-r--r-- | Cura/gui/newVersionDialog.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Cura/gui/aboutWindow.py b/Cura/gui/aboutWindow.py index 180f0d7dce..c43ce2c1dc 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=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 4cd195844a..5195076d06 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, url=newVersionDialog.url)) + s.Add(wx.HyperlinkCtrl(p, -1, newVersionDialog.url, newVersionDialog.url)) s.Add(wx.StaticLine(p), flag=wx.EXPAND|wx.TOP|wx.BOTTOM, border=10) button = wx.Button(p, -1, _('OK')) |