diff --git a/pg_service_parser/gui/dlg_pg_service.py b/pg_service_parser/gui/dlg_pg_service.py
index ae62a86..dacd738 100644
--- a/pg_service_parser/gui/dlg_pg_service.py
+++ b/pg_service_parser/gui/dlg_pg_service.py
@@ -13,8 +13,8 @@
from pg_service_parser.utils import get_ui_class
DIALOG_UI = get_ui_class("pg_service_dialog.ui")
-COPY_TAB_INDEX = 0
-EDIT_TAB_INDEX = 1
+EDIT_TAB_INDEX = 0
+COPY_TAB_INDEX = 1
class PgServiceDialog(QDialog, DIALOG_UI):
@@ -45,6 +45,7 @@ def __init__(self, parent):
self.cboEditService.currentIndexChanged.connect(self.__edit_service_changed)
self.btnUpdateService.clicked.connect(self.__update_service_clicked)
+ self.__initialize_edit_services()
self.__initialize_copy_services()
self.__update_target_controls(True)
diff --git a/pg_service_parser/ui/pg_service_dialog.ui b/pg_service_parser/ui/pg_service_dialog.ui
index 5f3b429..cc7878f 100644
--- a/pg_service_parser/ui/pg_service_dialog.ui
+++ b/pg_service_parser/ui/pg_service_dialog.ui
@@ -77,94 +77,6 @@
0
-
-
- Copy
-
-
- -
-
-
- QLayout::SetDefaultConstraint
-
-
-
-
-
-
- 0
- 0
-
-
-
- false
-
-
-
- -
-
-
- Overwrite
-
-
- true
-
-
-
- -
-
-
- Create new
-
-
-
- -
-
-
-
- 0
- 0
-
-
-
-
- -
-
-
- New service name
-
-
- false
-
-
-
-
-
- -
-
-
-
-
-
- Qt::Horizontal
-
-
-
- 40
- 20
-
-
-
-
- -
-
-
- Copy service
-
-
-
-
-
-
-
Edit
@@ -258,6 +170,94 @@
+
+
+ Copy
+
+
+ -
+
+
+ QLayout::SetDefaultConstraint
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+ false
+
+
+
+ -
+
+
+ Overwrite
+
+
+ true
+
+
+
+ -
+
+
+ Create new
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ -
+
+
+ New service name
+
+
+ false
+
+
+
+
+
+ -
+
+
-
+
+
+ Qt::Horizontal
+
+
+
+ 40
+ 20
+
+
+
+
+ -
+
+
+ Copy service
+
+
+
+
+
+
+
-