Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.2, 1.9.3, and 2.0

sync: hide target selection widgets if not embedded in the Workbench

The target combo is useless outside of the Workbench, so hide it to save some
horizontal space

Changeset 72e39012a6f7

Parent a83e583b0fab

by Steve Borho

Changes to one file · Browse files at 72e39012a6f7 Showing diff from parent a83e583b0fab Diff from another changeset...

 
110
111
112
 
 
 
113
114
115
 
110
111
112
113
114
115
116
117
118
@@ -110,6 +110,9 @@
  self.targetcheckbox.toggled.connect(self.targetcombo.setEnabled)   hbox.addWidget(self.targetcheckbox)   hbox.addWidget(self.targetcombo) + if not embedded: + self.targetcombo.setHidden(True) + self.targetcheckbox.setHidden(True)     hbox.addStretch(1)   self.urllabel = QLabel()