Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Commit

Permalink
Frontend: Main window: remove dead code
Browse files Browse the repository at this point in the history
Signed-off-by: jflesch <jflesch@gmail.com>
  • Loading branch information
jflesch committed Nov 12, 2015
1 parent 1f5012d commit 7225381
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/paperwork/frontend/mainwindow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2489,13 +2489,6 @@ def show_doc(self, doc, force_refresh=False):
not is_new and self.layout == 'paged')
set_widget_state(self.doc_edit_widgets, can_edit)

# TODO
# pages_gui = self.lists['pages']['gui']
# if doc.can_edit:
# pages_gui.enable_model_drag_source(0, [], Gdk.DragAction.MOVE)
# pages_gui.drag_source_add_text_targets()
# else:
# pages_gui.unset_model_drag_source()
self.refresh_label_list()
self.refresh_header_bar()

Expand Down

0 comments on commit 7225381

Please sign in to comment.