Add the 'safe to profile' button itself.

Currently only works for creating a new profile from current changes (when on top of a built-in profile). Only does the compare (not the safe yet) in the other circumstance. Also already anticipate the next commits by being able to hide the text and icon (because this will be added to the custom mode view as well).

part of CURA-9347
This commit is contained in:
Remco Burema 2022-11-29 22:54:30 +01:00
parent fb917a88fb
commit 0ea2830108
3 changed files with 47 additions and 9 deletions

View file

@ -710,6 +710,7 @@ class CuraApplication(QtApplication):
showDiscardOrKeepProfileChanges = pyqtSignal()
@pyqtSlot()
def discardOrKeepProfileChanges(self) -> bool:
has_user_interaction = False
choice = self.getPreferences().getValue("cura/choice_on_profile_override")