mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-16 18:04:33 +12:00
Set correct value to theme combobox
This commit is contained in:
parent
18fef440aa
commit
3ecd277923
|
@ -74,6 +74,7 @@ class fullScreenEditor(QWidget):
|
|||
for t in lst:
|
||||
themeIni = os.path.join(p, t)
|
||||
self.lstThemes.addItem(os.path.splitext(t)[0])
|
||||
self.lstThemes.setCurrentText(settings.fullScreenTheme)
|
||||
self.lstThemes.currentTextChanged.connect(self.setTheme)
|
||||
self.lstThemes.setMaximumSize(QSize(300, QFontMetrics(qApp.font()).height()))
|
||||
self.bottomPanel.layout().addWidget(QLabel(self.tr("Theme:"), self))
|
||||
|
|
Loading…
Reference in a new issue