Skip to content

Commit

Permalink
DispatchDialogue : Use Close instead of Ok
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
chrisc-lee committed Sep 7, 2023
1 parent 4ac5c68 commit 673b7b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -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)
========

Expand Down
2 changes: 1 addition & 1 deletion python/GafferDispatchUI/DispatchDialogue.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 673b7b6

Please sign in to comment.