From 673b7b6e2a9d051181b0133ac957ccc1d2c522b0 Mon Sep 17 00:00:00 2001 From: christopherle Date: Thu, 7 Sep 2023 11:08:52 -0700 Subject: [PATCH] DispatchDialogue : Use Close instead of Ok Users sometimes click the Ok button, thinking it will take them back to be able to run the dispatch again. Using Close instead of Ok here removes the ambiguity. --- Changes.md | 4 ++++ python/GafferDispatchUI/DispatchDialogue.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Changes.md b/Changes.md index 67a87ebb90c..0a0a0e0fc5c 100644 --- a/Changes.md +++ b/Changes.md @@ -1,6 +1,10 @@ 1.2.10.x (relative to 1.2.10.2) ======== +Fixes +----- +- DispatchDialogue : Changed the button label for the results display from Ok to Close + 1.2.10.2 (relative to 1.2.10.1) ======== diff --git a/python/GafferDispatchUI/DispatchDialogue.py b/python/GafferDispatchUI/DispatchDialogue.py index 3f523ccb9f0..ed46deaad39 100644 --- a/python/GafferDispatchUI/DispatchDialogue.py +++ b/python/GafferDispatchUI/DispatchDialogue.py @@ -309,7 +309,7 @@ def __initiateResultDisplay( self ) : self.__backButton.setEnabled( True ) self.__backButton.setVisible( True ) - self.__primaryButton.setText( "Ok" ) + self.__primaryButton.setText( "Close" ) self.__primaryButton.setEnabled( True ) self.__primaryButton.setVisible( True ) self.__primaryButtonConnection = self.__primaryButton.clickedSignal().connect( Gaffer.WeakMethod( self.__close ), scoped = True )