Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
KAlgebra
Commits
fef5d83e
Commit
fef5d83e
authored
Mar 13, 2021
by
Carl Schwan
🚴
Browse files
Hide plot2d and plot3d button when the plot cannot be plotted
This makes it possible to waste less space.
parent
44d2aad2
Changes
1
Hide whitespace changes
Inline
Side-by-side
mobile/content/ui/Console.qml
View file @
fef5d83e
...
...
@@ -126,7 +126,7 @@ Kirigami.ScrollablePage {
]
actions
:
[
Kirigami.Action
{
ena
ble
d
:
App
.
functionsModel
().
canAddFunction
(
expression
,
2
,
App
.
variables
)
visi
ble
:
App
.
functionsModel
().
canAddFunction
(
expression
,
2
,
App
.
variables
)
text
:
i18n
(
"
2D Plot
"
)
onTriggered
:
{
App
.
functionsModel
().
addFunction
(
expression
,
2
,
App
.
variables
)
...
...
@@ -134,7 +134,7 @@ Kirigami.ScrollablePage {
}
},
Kirigami.Action
{
ena
ble
d
:
App
.
functionsModel
().
canAddFunction
(
expression
,
4
,
App
.
variables
)
visi
ble
:
App
.
functionsModel
().
canAddFunction
(
expression
,
4
,
App
.
variables
)
text
:
i18n
(
"
3D Plot
"
)
onTriggered
:
{
App
.
functionsModel
().
addFunction
(
expression
,
4
,
App
.
variables
)
...
...
Carl Schwan
🚴
@carlschwan
mentioned in commit
fbe620d8
·
Mar 14, 2021
mentioned in commit
fbe620d8
mentioned in commit fbe620d8f7b1c1dcf2737f6f17aa37841f8a7d6a
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment