Skip to content

Commit

Permalink
Fixed goofed execute button from previosu commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
troy.melhase committed Jul 31, 2008
1 parent ac9c9c3 commit c9f23b5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion profit/lib/widgets/extendedshell.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def __init__(self, parent=None):
self.setupUi(self)

@pyqtSignature('')
def on_execButton_clicked(self):
def on_actionExecute_triggered(self):
source = str(self.editorWidget.text())
self.shellWidget.runLines(source.split('\n'))

Expand Down
13 changes: 10 additions & 3 deletions profit/lib/widgets/ui_extendedshell.ui
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@
<property name="text" >
<string>Execute</string>
</property>
<property name="icon" >
<iconset resource="profit.qrc" >
<normaloff>:/images/icons/misc.png</normaloff>:/images/icons/misc.png</iconset>
</property>
<property name="shortcut" >
<string>Ctrl+E</string>
</property>
<property name="toolButtonStyle" >
<enum>Qt::ToolButtonTextBesideIcon</enum>
</property>
</widget>
</item>
</layout>
Expand All @@ -83,9 +93,6 @@
<property name="text" >
<string>Execute</string>
</property>
<property name="shortcut" >
<string>Ctrl+E</string>
</property>
</action>
</widget>
<customwidgets>
Expand Down

0 comments on commit c9f23b5

Please sign in to comment.