mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Use the configureSettingVisiblity action from Actions when needed
This commit is contained in:
parent
d68f274a09
commit
cdc8b04c5c
2 changed files with 6 additions and 2 deletions
|
|
@ -8,6 +8,8 @@ import QtQuick.Layouts 1.1
|
|||
|
||||
import UM 1.1 as UM
|
||||
|
||||
import ".."
|
||||
|
||||
Button {
|
||||
id: base;
|
||||
|
||||
|
|
@ -43,7 +45,7 @@ Button {
|
|||
iconSource: UM.Theme.getIcon("settings");
|
||||
|
||||
onClicked: {
|
||||
Actions.configureSettingVisibility()
|
||||
Actions.configureSettingVisibility.trigger(definition)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue