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

csinfo: get back 'selectable' option

Changeset 8d0b586919cd

Parent b1873724b6e1

by Yuki KODAMA

Changes to one file · Browse files at 8d0b586919cd Showing diff from parent b1873724b6e1 Diff from another changeset...

 
600
601
602
 
 
 
 
 
603
604
605
 
609
610
611
612
613
614
615
 
600
601
602
603
604
605
606
607
608
609
610
 
614
615
616
 
617
618
619
@@ -600,6 +600,11 @@
  if style is not None:   self.csstyle = style   + if 'selectable' in self.csstyle: + sel = self.csstyle['selectable'] + val = sel and Qt.TextSelectableByMouse or Qt.TextBrowserInteraction + self.setTextInteractionFlags(val) +   if 'width' in self.csstyle:   width = self.csstyle.get('width', 0)   self.setMinimumWidth(width) @@ -609,7 +614,6 @@
  self.setMinimumHeight(height)     contents = self.csstyle.get('contents', None) - assert contents     # build info   info = ''