mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Improve formatting for an infobox when editing keyboard shortcuts in viewer
The box appears when the user has edited a shortcut and clicks 'OK' before the shortcut is actually created.
This commit is contained in:
parent
bf60631ce0
commit
3cfbf1c720
@ -397,8 +397,8 @@ class ConfigDialog(QDialog, Ui_Dialog):
|
||||
if self.shortcut_config.is_editing:
|
||||
from calibre.gui2 import info_dialog
|
||||
info_dialog(self, _('Still editing'),
|
||||
_('You are in the middle of editing a keyboard shortcut'
|
||||
' first complete that, by clicking outside the '
|
||||
_('You are in the middle of editing a keyboard shortcut.'
|
||||
' First complete that by clicking outside the'
|
||||
' shortcut editing box.'), show=True)
|
||||
return
|
||||
self.save_options(config())
|
||||
|
Loading…
x
Reference in New Issue
Block a user