diff --git a/pyfpdb/fpdb.pyw b/pyfpdb/fpdb.pyw
index ad5ecccf..17518bca 100755
--- a/pyfpdb/fpdb.pyw
+++ b/pyfpdb/fpdb.pyw
@@ -106,6 +106,7 @@ import GuiPrefs
import GuiLogView
import GuiDatabase
import GuiBulkImport
+import GuiTourneyImport
import GuiImapFetcher
import GuiRingPlayerStats
import GuiTourneyPlayerStats
@@ -763,6 +764,7 @@ class fpdb:
@@ -805,6 +807,7 @@ class fpdb:
('Preferences', None, _('Pre_ferences'), _('F'), 'Edit your preferences', self.dia_preferences),
('import', None, _('_Import')),
('bulkimp', None, _('_Bulk Import'), _('B'), 'Bulk Import', self.tab_bulk_import),
+ ('tourneyimp', None, _('Tournament _Results Import'), _('R'), 'Tournament Results Import', self.tab_tourney_import),
('imapimport', None, _('_Import through eMail/IMAP'), _('I'), 'Import through eMail/IMAP', self.tab_imap_import),
('viewers', None, _('_Viewers')),
('autoimp', None, _('_Auto Import and HUD'), _('A'), 'Auto Import and HUD', self.tab_auto_import),
@@ -996,6 +999,13 @@ class fpdb:
bulk_tab=new_import_thread.get_vbox()
self.add_and_display_tab(bulk_tab, _("Bulk Import"))
+ def tab_tourney_import(self, widget, data=None):
+ """opens a tab for bulk importing"""
+ new_import_thread = GuiTourneyImport.GuiTourneyImport(self.settings, self.config, self.sql, self.window)
+ self.threads.append(new_import_thread)
+ bulk_tab=new_import_thread.get_vbox()
+ self.add_and_display_tab(bulk_tab, _("Tournament Results Import"))
+
def tab_imap_import(self, widget, data=None):
new_thread = GuiImapFetcher.GuiImapFetcher(self.config, self.db, self.sql, self.window)
self.threads.append(new_thread)