Skip to content

Commit

Permalink
re-add ColorDialog class
Browse files Browse the repository at this point in the history
to avoid api breaks
  • Loading branch information
casperlamboo committed Oct 10, 2023
1 parent 4eb0ba9 commit e9cc653
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
7 changes: 7 additions & 0 deletions resources/qml/Actions.qml
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,13 @@ Item
shortcut: fileProviderModel.count == 1 ? StandardKey.Open : ""
}

Action
{
id: arrangeSelectionAction
text: catalog.i18nc("@action:inmenu menubar:edit", "Arrange Selection")
onTriggered: Printer.arrangeSelection()
}

Action
{
id: newProjectAction
Expand Down
12 changes: 12 additions & 0 deletions resources/qml/Dialogs/ColorDialog.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Copyright (c) 2023 UltiMaker
// Cura is released under the terms of the LGPLv3 or higher.

import QtQuick 2.7
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.3
import QtQuick.Dialogs

// due for deprication, use Qt Color Dialog instead
ColorDialog
{
}

0 comments on commit e9cc653

Please sign in to comment.