don't start a GraphViz report on the "Paper Options" tab

None of the other reports start on the "Paper Options" tab.
(I will commit this to gramps40 when its "code freeze" is over.)


svn: r22354
This commit is contained in:
Paul Franklin 2013-05-17 15:24:39 +00:00
parent 9a9f47dc28
commit 0d38f4f5a4

View File

@ -6,7 +6,7 @@
# Copyright (C) 2009 Gary Burton # Copyright (C) 2009 Gary Burton
# Contribution 2009 by Bob Ham <rah@bash.sh> # Contribution 2009 by Bob Ham <rah@bash.sh>
# Copyright (C) 2010 Jakim Friant # Copyright (C) 2010 Jakim Friant
# Copyright (C) 2012 Paul Franklin # Copyright (C) 2012-2013 Paul Franklin
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -141,6 +141,7 @@ class GraphvizReportDialog(ReportDialog):
def init_interface(self): def init_interface(self):
ReportDialog.init_interface(self) ReportDialog.init_interface(self)
self.doc_type_changed(self.format_menu) self.doc_type_changed(self.format_menu)
self.notebook.set_current_page(1) # don't start on "Paper Options"
def setup_format_frame(self): def setup_format_frame(self):
"""Set up the format frame of the dialog.""" """Set up the format frame of the dialog."""