Skip to content

Commit

Permalink
pointless try/except that will not improve #479
Browse files Browse the repository at this point in the history
  • Loading branch information
maoschanz committed Feb 1, 2023
1 parent f594d7a commit 4e7c14e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/tools/classic_tools/tool_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,12 @@ def _set_font(self, *args):
# for f in PangoCairo.font_map_get_default().list_families():
# print(f.get_name())

status = dialog.run() # <<< FIXME
try:
status = dialog.run()
# ^ FIXME #479
except Exception as ex:
# probablement qu'on ne catchera rien
pass
if(status == Gtk.ResponseType.OK):
self._font_fam_name = dialog.get_font_family().get_name()
# print(dialog.get_font())
Expand Down

0 comments on commit 4e7c14e

Please sign in to comment.