|
58 | 58 | )
|
59 | 59 | from .ui.widgets import DragDropLineEdit
|
60 | 60 |
|
61 |
| -__VERSION__ = "0.3.0" |
| 61 | +__VERSION__ = "0.3.1" |
62 | 62 |
|
63 | 63 |
|
64 | 64 | class MainWindow(QMainWindow):
|
@@ -231,9 +231,7 @@ def setUIMainLayout(self):
|
231 | 231 | #
|
232 | 232 |
|
233 | 233 | def setUIAppIconTitle(self):
|
234 |
| - monoton_id = QFontDatabase.addApplicationFont( |
235 |
| - ":/font/Monoton-Regular.subset.ttf" |
236 |
| - ) |
| 234 | + monoton_id = QFontDatabase.addApplicationFont(":/font/Monoton-Regular.subset.ttf") |
237 | 235 | font_family = QFontDatabase.applicationFontFamilies(monoton_id)[0]
|
238 | 236 | monoton = QFont(font_family)
|
239 | 237 | outerHBox = QHBoxLayout()
|
@@ -520,9 +518,7 @@ def menu_clicked_source(self):
|
520 | 518 | QDesktopServices.openUrl(QUrl("https://github.com/source-foundry/Slice"))
|
521 | 519 |
|
522 | 520 | def menu_clicked_updatecheck(self):
|
523 |
| - QDesktopServices.openUrl( |
524 |
| - QUrl("https://github.com/source-foundry/Slice/releases") |
525 |
| - ) |
| 521 | + QDesktopServices.openUrl(QUrl("https://github.com/source-foundry/Slice/releases")) |
526 | 522 |
|
527 | 523 | #
|
528 | 524 | # Button click events
|
@@ -675,9 +671,7 @@ def load_font(self, filepath):
|
675 | 671 | axis_value_table_was_set = self.fvar_table_model.load_font(self.font_model)
|
676 | 672 |
|
677 | 673 | self.fvar_table_view.resizeColumnToContents(0)
|
678 |
| - self.fvar_table_view.verticalHeader().resizeSections( |
679 |
| - QHeaderView.ResizeToContents |
680 |
| - ) |
| 674 | + self.fvar_table_view.verticalHeader().resizeSections(QHeaderView.ResizeToContents) |
681 | 675 |
|
682 | 676 | # uncheck all bit flag setting check boxes
|
683 | 677 | self.os2_fsselection_bit_0_checkbox.setChecked(False)
|
|
0 commit comments