Feature/jira project knowledge #8
@@ -235,6 +235,9 @@ class JiraConnectDialog(QDialog):
|
|||||||
|
|
||||||
def _trigger_sync(self) -> None:
|
def _trigger_sync(self) -> None:
|
||||||
"""Trigger a background sync job using JiraSyncService."""
|
"""Trigger a background sync job using JiraSyncService."""
|
||||||
|
# Save current form values to config before syncing — otherwise the
|
||||||
|
# sync job reads stale/empty config if the user hasn't clicked Save yet.
|
||||||
|
self._save()
|
||||||
self.sync_status.setText(tr("connectors.jira_kb_syncing"))
|
self.sync_status.setText(tr("connectors.jira_kb_syncing"))
|
||||||
self.sync_btn.setEnabled(False)
|
self.sync_btn.setEnabled(False)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user