Open query tool and debugger windows in new tabs by default.

This commit is contained in:
Dave Page 2017-07-07 16:53:45 +01:00
parent 08e874a026
commit 1a6fe946ce
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ class DebuggerModule(PgAdminModule):
def register_preferences(self):
self.open_in_new_tab = self.preference.register(
'display', 'debugger_new_browser_tab',
gettext("Open in new browser tab"), 'boolean', False,
gettext("Open in new browser tab"), 'boolean', True,
category_label=gettext('Display'),
help_str=gettext('If set to True, the Debugger '
'will be opened in a new browser tab.')

View File

@ -116,7 +116,7 @@ class SqlEditorModule(PgAdminModule):
self.open_in_new_tab = self.preference.register(
'display', 'new_browser_tab',
gettext("Open in new browser tab"), 'boolean', False,
gettext("Open in new browser tab"), 'boolean', True,
category_label=gettext('Display'),
help_str=gettext('If set to True, the Query Tool '
'will be opened in a new browser tab.')