Expose contextMenuRequested signal to QML

This commit is contained in:
Arjen Hiemstra 2015-03-17 15:48:23 +01:00
parent 444936a545
commit 7e2bd91359

View file

@ -232,6 +232,15 @@ UM.MainWindow {
MenuItem { action: actions.deleteSelection; }
}
Connections {
target: UM.Controller
onContextMenuRequested: {
if(id == 0) {
contextMenu.popup();
}
}
}
FileDialog {
id: openDialog;