Changeset 3568:862fe0a181e0 in orange


Ignore:
Timestamp:
04/23/07 01:33:49 (7 years ago)
Author:
mitar
Branch:
default
Convert:
f4b02bd6aa978accae7195d637f4a69a33bc707a
Message:

A bugfix for previous commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeCanvas/orngDoc.py

    r3567 r3568  
    612612                signals += "self.ow%s.setEventHandler(self.eventHandler)\n" % (name) +t+t + "self.ow%s.setProgressBarHandler(self.progressHandler)\n" % (name) +t+t 
    613613                icons += "self.ow%s.setWidgetIcon('%s')\n" % (name, widget.widget.getIconName()) + t+t 
    614                 captions  += "if (int(qVersion()[0]) >= 3):\n" +t+t+t + "self.ow%s.setCaptionTitle('%s')\n" %(name, widget.caption) +t+t "else:\n" +t+t+t "self.ow%s.setCaptionTitle('Qt %s')\n" %(name, widget.caption) +t+t 
     614                captions += "if (int(qVersion()[0]) >= 3):\n" +t+t+t + "self.ow%s.setCaptionTitle('%s')\n" %(name, widget.caption) +t+t + "else:\n" +t+t+t + "self.ow%s.setCaptionTitle('Qt %s')\n" %(name, widget.caption) +t+t 
    615615                manager += "self.signalManager.addWidget(self.ow%s)\n" %(name) +t+t 
    616616                tabs += """self.tabs.insertTab (self.ow%s, "%s")\n""" % (name , widget.caption) +t+t 
Note: See TracChangeset for help on using the changeset viewer.