Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed shortcut #169

Open
wants to merge 1 commit into
base: dev/develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/presentation/desktop/settings/MSettings.qml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ Page {
}
Shortcut {
sequence: "Shift+3"
onActivated: loadSettingsPage(shortcutsPage,
settingsSidebar.shortcutsItem)
onActivated: loadSettingsPage(behaviorSettingsPage,
settingsSidebar.behaviorSettingsItem)
}
Shortcut {
sequence: "Shift+4"
onActivated: loadSettingsPage(updatesPage, settingsSidebar.updatesItem)
onActivated: loadSettingsPage(shortcutsPage,
settingsSidebar.shortcutsItem)
}
Shortcut {
sequence: "Shift+5"
onActivated: loadSettingsPage(behaviorSettingsPage,
settingsSidebar.generalSettingsItem)
onActivated: loadSettingsPage(updatesPage, settingsSidebar.updatesItem)
}
Shortcut {
sequence: "Shift+6"
Expand Down Expand Up @@ -107,6 +107,10 @@ Page {
id: appearancePage
MAppearancePage {}
}
Component {
id: behaviorSettingsPage
MBehaviorPage {}
}
Component {
id: shortcutsPage
MShortcutsPage {}
Expand All @@ -115,10 +119,6 @@ Page {
id: updatesPage
MUpdatesPage {}
}
Component {
id: behaviorSettingsPage
MBehaviorPage {}
}
Component {
id: accountPage
MAccountPage {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Item {
id: root
property MSettingsSidebarItem aboutItem: aboutItem
property MSettingsSidebarItem appearanceItem: appearanceItem
property MSettingsSidebarItem behaviorSettingsItem: behaviorSettingsItem
property MSettingsSidebarItem shortcutsItem: shortcutsItem
property MSettingsSidebarItem updatesItem: updatesItem
property MSettingsSidebarItem behaviorSettingsItem: behaviorSettingsItem
property MSettingsSidebarItem accountItem: accountItem
property MSettingsSidebarItem storageItem: storageItem
property MSettingsSidebarItem supportUsItem: supportUsItem
Expand Down
Loading