Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
un-pogaz authored Oct 9, 2020
1 parent b38d1bf commit ccaefd3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions action.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ def _clean_comment(self):
_('No book selected for cleaning comments'), show=True)
book_ids = self.gui.library_view.get_selected_ids()

self._do_replace_text (book_ids)
self._do_clean_text (book_ids)

def _do_replace_text (self, book_ids):
def _do_clean_text (self, book_ids):
dbA = self.gui.current_db

db = self.gui.current_db.new_api
Expand Down
2 changes: 1 addition & 1 deletion common_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def __init__(self, parent, icon_name, title):
self.insertStretch(-1)

def update_title_icon(self, icon_name):
debug_print ("Icon: ", icon_name)
#debug_print ("Icon: ", icon_name)
pixmap = get_pixmap(icon_name)
if pixmap is None:
error_dialog(self.parent(), _('Restart required'),
Expand Down
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def __init__(self, plugin_action):
post_show3 = library_config.get(KEY_FONT_WEIGHT, DEFAULT_LIBRARY_VALUES[KEY_FONT_WEIGHT])
self.showCombo3 = KeyValueComboBox(self, FONT_WEIGHT, post_show3)
options_group_box_layout.addWidget(self.showCombo3, 6, 1)

# --- Keyboard shortcuts ---
keyboard_shortcuts_button = QPushButton(_('Keyboard shortcuts...'), self)
keyboard_shortcuts_button.setToolTip(_(
Expand Down

0 comments on commit ccaefd3

Please sign in to comment.