mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 13:03:59 -06:00
Build correct states for safe profiles flow (except actual safe).
Re-use Discard Or Keep dialogue, but have different buttons. (Safe to New/Override instead of Keep/Discard.) The actual safa action is still the old one though (for either new button, it still goes to the old 'make a new profile' action). Besides that, some cosmetics have to be done to the texts as well still. part of CURA-9347
This commit is contained in:
parent
79629e477d
commit
c13deba1ea
4 changed files with 50 additions and 6 deletions
|
@ -709,8 +709,8 @@ class CuraApplication(QtApplication):
|
|||
self.showMessageBox.emit(title, text, informativeText, detailedText, buttons, icon)
|
||||
|
||||
showDiscardOrKeepProfileChanges = pyqtSignal()
|
||||
showCompareAndSaveProfileChanges = pyqtSignal(str)
|
||||
|
||||
@pyqtSlot()
|
||||
def discardOrKeepProfileChanges(self) -> bool:
|
||||
has_user_interaction = False
|
||||
choice = self.getPreferences().getValue("cura/choice_on_profile_override")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue