From f7c0e7ce23777118c60cabdb49849fac5070776e Mon Sep 17 00:00:00 2001 From: emdee Date: Mon, 10 Oct 2022 14:04:09 +0000 Subject: [PATCH] Fix profile settings --- toxygen/ui/main_screen.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/toxygen/ui/main_screen.py b/toxygen/ui/main_screen.py index 22b0455..669aa2d 100644 --- a/toxygen/ui/main_screen.py +++ b/toxygen/ui/main_screen.py @@ -194,8 +194,9 @@ class MainWindow(QtWidgets.QMainWindow): self.actionAdd_friend = QtWidgets.QAction(window) self.actionAdd_friend.setObjectName("actionAdd_friend") - self.actionprofilesettings = QtWidgets.QAction(window) - self.actionprofilesettings.setObjectName("actionprofilesettings") + + self.actionProfile_settings = QtWidgets.QAction(window) + self.actionProfile_settings.setObjectName("actionProfile_settings") self.actionPrivacy_settings = QtWidgets.QAction(window) self.actionPrivacy_settings.setObjectName("actionPrivacy_settings") self.actionInterface_settings = QtWidgets.QAction(window) @@ -236,6 +237,7 @@ class MainWindow(QtWidgets.QMainWindow): self.menuGC.addAction(self.createGC) self.menuGC.addAction(self.joinGC) self.menuGC.addAction(self.gc_invites) + self.menuSettings.addAction(self.actionProfile_settings) self.menuSettings.addAction(self.actionPrivacy_settings) self.menuSettings.addAction(self.actionInterface_settings) self.menuSettings.addAction(self.actionNotifications) @@ -269,7 +271,7 @@ class MainWindow(QtWidgets.QMainWindow): self.actionAdd_friend.triggered.connect(self.add_contact_triggered) self.createGC.triggered.connect(self.create_gc) self.joinGC.triggered.connect(self.join_gc) - self.actionSettings.triggered.connect(self.profile_settings) + self.actionProfile_settings.triggered.connect(self.profile_settings) self.actionPrivacy_settings.triggered.connect(self.privacy_settings) self.actionInterface_settings.triggered.connect(self.interface_settings) self.actionNotifications.triggered.connect(self.notification_settings) @@ -311,7 +313,7 @@ class MainWindow(QtWidgets.QMainWindow): self.createGC.setText(util_ui.tr("Create group chat")) self.joinGC.setText(util_ui.tr("Join group chat")) self.gc_invites.setText(util_ui.tr("Group invites")) - self.actionprofilesettings.setText(util_ui.tr("Profile")) + self.actionProfile_settings.setText(util_ui.tr("Profile")) self.actionPrivacy_settings.setText(util_ui.tr("Privacy")) self.actionInterface_settings.setText(util_ui.tr("Interface")) self.actionNotifications.setText(util_ui.tr("Notifications"))