Uniform tab sizes

Path search
PDF parser exception handling
This commit is contained in:
BasioMeusPuga
2018-05-13 15:54:17 -04:00
parent 3e54340694
commit ffaace2eaa
9 changed files with 38 additions and 9 deletions

View File

@@ -187,6 +187,8 @@ class Tab(QtWidgets.QWidget):
self.bookmarkDock.setWindowOpacity(.95)
title = self.metadata['title']
if self.main_window.settings['attenuate_titles'] and len(title) > 30:
title = title[:30] + '...'
self.main_window.tabWidget.addTab(self, title)
this_tab_index = self.main_window.tabWidget.indexOf(self)