Skip to content

Commit eaf06e1

Browse files
committed
fixing gui
1 parent 4bcb685 commit eaf06e1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyNastran/gui/menus/download.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,12 @@ def create_layout(self):
101101

102102
def set_connections(self):
103103
if qt_version == 4:
104+
self.connect(self.link, QtCore.SIGNAL('clicked()'), self.on_download)
104105
self.connect(self, QtCore.SIGNAL('triggered()'), self.closeEvent)
105-
self.link.clicked.connect(self.on_download)
106+
else:
107+
self.link.clicked.connect(self.on_download)
108+
109+
#self.link.linkActivated.connect(self.on_download)
106110
self.close_button.clicked.connect(self.on_cancel)
107111

108112
def keyPressEvent(self, event):

0 commit comments

Comments
 (0)