Modified:
trunk/profit/lib/widgets/extendedshell.py
trunk/profit/lib/widgets/ui_extendedshell.ui
Log:
Fixed goofed execute button from previosu commit.
Modified: trunk/profit/lib/widgets/extendedshell.py
==============================================================================
--- trunk/profit/lib/widgets/extendedshell.py (original)
+++ trunk/profit/lib/widgets/extendedshell.py Thu Jul 31 01:35:16 2008
@@ -17,7 +17,7 @@
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'))
Modified: trunk/profit/lib/widgets/ui_extendedshell.ui
==============================================================================
--- trunk/profit/lib/widgets/ui_extendedshell.ui (original)
+++ trunk/profit/lib/widgets/ui_extendedshell.ui Thu Jul 31 01:35:16 2008
@@ -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>
@@ -82,9 +92,6 @@
</property>
<property name="text" >
<string>Execute</string>
- </property>
- <property name="shortcut" >
- <string>Ctrl+E</string>
</property>
</action>
</widget>