mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06: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.2 as UM
|
||||
|
||||
import ".."
|
||||
|
||||
ScrollView
|
||||
{
|
||||
id: base;
|
||||
|
@ -108,7 +110,7 @@ ScrollView
|
|||
//: Settings context menu action
|
||||
text: catalog.i18nc("@action:menu", "Configure setting visiblity...");
|
||||
|
||||
onTriggered: if(base.configureSettings) base.configureSettings.trigger(contextMenu);
|
||||
onTriggered: Actions.configureSettingVisibility.trigger(contextMenu);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue