Skip to content

Commit

Permalink
fix bad merge (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored Jul 16, 2024
1 parent bed63da commit 441c76e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pg_service_parser/gui/dlg_pg_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
)
from pg_service_parser.gui.dlg_service_name import ServiceNameDialog
from pg_service_parser.gui.dlg_service_settings import ServiceSettingsDialog
from pg_service_parser.gui.item_delegates import ServiceConfigDelegate
from pg_service_parser.utils import get_ui_class

DIALOG_UI = get_ui_class("pg_service_dialog.ui")
Expand Down Expand Up @@ -204,6 +205,7 @@ def __edit_service_changed(self, index):
target_service, service_config(target_service, self.__conf_file_path)
)
self.tblServiceConfig.setModel(self.__edit_model)
self.tblServiceConfig.setItemDelegate(ServiceConfigDelegate(self))
self.tblServiceConfig.selectionModel().selectionChanged.connect(
self.__update_settings_buttons
)
Expand Down

0 comments on commit 441c76e

Please sign in to comment.