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

stable fileview: override setFont()

and delegate it to self.sci.setFont

This avoids clobbering the font of the fileview's diffToolbar, which ended
having its buttons in ugly courier font.

(it took me quite a while to figure this out)

Changeset 0c2458005064

Parent ccddfa6ae070

by Adrian Buehlmann

Changes to one file · Browse files at 0c2458005064 Showing diff from parent ccddfa6ae070 Diff from another changeset...

 
198
199
200
 
 
 
201
202
203
 
198
199
200
201
202
203
204
205
206
@@ -198,6 +198,9 @@
  self.timer.setSingleShot(False)   self.timer.timeout.connect(self.idle_fill_files)   + def setFont(self, font): + self.sci.setFont(font) +   def menuRequested(self, point):   point = self.sci.mapToGlobal(point)   return self.sci.createStandardContextMenu().exec_(point)