mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Edit book: Fix a typo causing the preferences for which windows occupy which corners to not work
This commit is contained in:
parent
0a8b250417
commit
497fea0cc9
@ -215,7 +215,7 @@ class MainWindowSettings(BasicSettings):
|
||||
choices = {'vertical':{'left':_('Left'), 'right':_('Right')}[h],
|
||||
'horizontal':{'top':_('Top'), 'bottom':_('Bottom')}[v]}
|
||||
name = 'dock_%s_%s' % (v, h)
|
||||
w = self.choices_widget(name, choices, 'vertical', 'vertical')
|
||||
w = self.choices_widget(name, choices, 'horizontal', 'horizontal')
|
||||
cn = {('top', 'left'): _('The top-left corner'), ('top', 'right'):_('The top-right corner'),
|
||||
('bottom', 'left'):_('The bottom-left corner'), ('bottom', 'right'):_('The bottom-right corner')}[(v, h)]
|
||||
l.addRow(cn + ':', w)
|
||||
|
Loading…
x
Reference in New Issue
Block a user