Fixing inability to open and load files due to greet screen fixes.
This commit is contained in:
parent
fb1c4c0de7
commit
b0b77834a8
2 changed files with 8 additions and 8 deletions
|
@ -35,7 +35,7 @@ import "js/math/latex.js" as LatexJS
|
||||||
\sa LogarithmPlotter
|
\sa LogarithmPlotter
|
||||||
*/
|
*/
|
||||||
MenuBar {
|
MenuBar {
|
||||||
property var settings: settingsMenu
|
property var settingsMenu: settingsSubMenu
|
||||||
|
|
||||||
Menu {
|
Menu {
|
||||||
title: qsTr("&File")
|
title: qsTr("&File")
|
||||||
|
@ -124,7 +124,7 @@ MenuBar {
|
||||||
}
|
}
|
||||||
|
|
||||||
Menu {
|
Menu {
|
||||||
id: settingsMenu
|
id: settingsSubMenu
|
||||||
title: qsTr("&Settings")
|
title: qsTr("&Settings")
|
||||||
Action {
|
Action {
|
||||||
id: checkForUpdatesMenuSetting
|
id: checkForUpdatesMenuSetting
|
||||||
|
|
|
@ -104,7 +104,7 @@ Popup {
|
||||||
onClicked: {
|
onClicked: {
|
||||||
Helper.setSettingBool("check_for_updates", checked)
|
Helper.setSettingBool("check_for_updates", checked)
|
||||||
// Set in the menu bar
|
// Set in the menu bar
|
||||||
appMenu.settings.children[0].checked = checked
|
appMenu.settingsMenu.children[0].checked = checked
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ Popup {
|
||||||
text: qsTr('Reset redo stack when a new action is added to history')
|
text: qsTr('Reset redo stack when a new action is added to history')
|
||||||
onClicked: {
|
onClicked: {
|
||||||
Helper.setSettingBool("reset_redo_stack", checked)
|
Helper.setSettingBool("reset_redo_stack", checked)
|
||||||
appMenu.settings.children[1].checked = checked
|
appMenu.settingsMenu.children[1].checked = checked
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ Popup {
|
||||||
text: qsTr('Enable LaTeX rendering')
|
text: qsTr('Enable LaTeX rendering')
|
||||||
onClicked: {
|
onClicked: {
|
||||||
Helper.setSettingBool("enable_latex", checked)
|
Helper.setSettingBool("enable_latex", checked)
|
||||||
appMenu.settings.children[2].checked = checked
|
appMenu.settingsMenu.children[2].checked = checked
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -143,7 +143,7 @@ Popup {
|
||||||
text: qsTr('Automatically close parenthesises and brackets in expressions')
|
text: qsTr('Automatically close parenthesises and brackets in expressions')
|
||||||
onClicked: {
|
onClicked: {
|
||||||
Helper.setSettingBool("expression_editor.autoclose", checked)
|
Helper.setSettingBool("expression_editor.autoclose", checked)
|
||||||
appMenu.settings.children[3].children[0].checked = checked
|
appMenu.settingsMenu.children[3].children[0].checked = checked
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -156,7 +156,7 @@ Popup {
|
||||||
text: qsTr('Enable syntax highlighting for expressions')
|
text: qsTr('Enable syntax highlighting for expressions')
|
||||||
onClicked: {
|
onClicked: {
|
||||||
Helper.setSettingBool("expression_editor.colorize", checked)
|
Helper.setSettingBool("expression_editor.colorize", checked)
|
||||||
appMenu.settings.children[3].children[1].checked = checked
|
appMenu.settingsMenu.children[3].children[1].checked = checked
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -169,7 +169,7 @@ Popup {
|
||||||
text: qsTr('Enable autocompletion interface in expression editor')
|
text: qsTr('Enable autocompletion interface in expression editor')
|
||||||
onClicked: {
|
onClicked: {
|
||||||
Helper.setSettingBool("autocompletion.enabled", checked)
|
Helper.setSettingBool("autocompletion.enabled", checked)
|
||||||
appMenu.settings.children[3].children[2].checked = checked
|
appMenu.settingsMenu.children[3].children[2].checked = checked
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue