Commit ef29272b authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Polish main.py.

parent 0860ca77
...@@ -39,7 +39,6 @@ from ui_report import ReportUI ...@@ -39,7 +39,6 @@ from ui_report import ReportUI
from ui_selector import SelectorUI from ui_selector import SelectorUI
from ui_viewport import ViewportUi from ui_viewport import ViewportUi
# ............................................................................ # ............................................................................
# #
# Connection to databases # Connection to databases
...@@ -79,7 +78,7 @@ T.lazy = False # immediate translation ...@@ -79,7 +78,7 @@ T.lazy = False # immediate translation
# ............................................................................ # ............................................................................
# #
# Plugin dbui configuration # Configure plugin_dbui
# #
Dbui.define_paths( Dbui.define_paths(
...@@ -143,10 +142,11 @@ configure_forms( ...@@ -143,10 +142,11 @@ configure_forms(
configure_grids( configure_grids(
tables, tables,
plugins=["pGridRowEditorConfirmDelete", plugins=[
"pGridRowEditorContextMenu", "pGridRowEditorConfirmDelete",
"pGridRowEditorDblClick", "pGridRowEditorContextMenu",
"pGridToolbar"]) "pGridRowEditorDblClick",
"pGridToolbar"])
AppUI.configure(db, T) AppUI.configure(db, T)
AuthUI.configure(db, T) AuthUI.configure(db, T)
...@@ -156,5 +156,3 @@ ReportUI.configure(db, T) ...@@ -156,5 +156,3 @@ ReportUI.configure(db, T)
SelectorUI.configure(virtdb, db, T) SelectorUI.configure(virtdb, db, T)
ViewportUi.configure(db, T, virtdb) ViewportUi.configure(db, T, virtdb)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment