Skip to content

Commit

Permalink
fix qchat settings
Browse files Browse the repository at this point in the history
  • Loading branch information
gounux committed Jul 21, 2024
1 parent fa7e8c7 commit 42b01cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion qtribu/gui/dlg_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ def apply(self):
settings.integration_qgis_news_feed = self.chb_integration_news_feed.isChecked()
settings.license_global_accept = self.chb_license_global_accept.isChecked()

# qchat
settings.qchat_instance_uri = self.le_qchat_instance_uri.text()
settings.qchat_nickname = self.le_qchat_nickname.text()

# misc
settings.debug_mode = self.opt_debug.isChecked()
settings.version = __version__
Expand Down Expand Up @@ -123,7 +127,7 @@ def load_settings(self) -> dict:

# qchat
self.le_qchat_instance_uri.setText(settings.qchat_instance_uri)
self.le_qchat_nick_name.setText(settings.qchat_nickname)
self.le_qchat_nickname.setText(settings.qchat_nickname)

# misc
self.opt_debug.setChecked(settings.debug_mode)
Expand Down

0 comments on commit 42b01cd

Please sign in to comment.