Commit 1d46231c authored by Luci Stanescu's avatar Luci Stanescu

Made status change to 'Available' when the first account is enabled

parent 56b9b5ed
......@@ -229,6 +229,8 @@ class MainWindow(base_class, ui_class):
self.display_name.setText(account.display_name)
self.display_name.setEnabled(True)
self.activity_note.setEnabled(True)
if not self.session_model.active_sessions:
self.status.setCurrentIndex(self.idle_status_index)
else:
self.display_name.clear()
self.display_name.setEnabled(False)
......
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