mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-15 05:22:53 +08:00
Enable Save As button even if project is not modified
This commit is contained in:
parent
28e6e5e35e
commit
ca0c60c3ae
@ -153,14 +153,14 @@ Rectangle {
|
||||
}
|
||||
|
||||
//
|
||||
// Save
|
||||
// Save As
|
||||
//
|
||||
Widgets.BigButton {
|
||||
text: qsTr("Save As")
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
onClicked: Cpp_JSON_ProjectModel.saveJsonFile(true)
|
||||
icon.source: "qrc:/rcc/icons/project-editor/toolbar/save-as.svg"
|
||||
enabled: Cpp_JSON_ProjectModel.modified && Cpp_JSON_ProjectModel.groupCount > 0 && Cpp_JSON_ProjectModel.datasetCount > 0
|
||||
enabled: Cpp_JSON_ProjectModel.groupCount > 0 && Cpp_JSON_ProjectModel.datasetCount > 0
|
||||
}
|
||||
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user