From eecbba3fc38833bfa0f248da92cc2b07b4eccd1e Mon Sep 17 00:00:00 2001 From: mjbudd77 Date: Sun, 1 Aug 2021 23:38:47 -0400 Subject: [PATCH] Added button icons to cancel/ok buttons on breakpoint add/edit window. --- src/drivers/Qt/ConsoleDebugger.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/drivers/Qt/ConsoleDebugger.cpp b/src/drivers/Qt/ConsoleDebugger.cpp index 806cb578..d3cea993 100644 --- a/src/drivers/Qt/ConsoleDebugger.cpp +++ b/src/drivers/Qt/ConsoleDebugger.cpp @@ -1745,6 +1745,9 @@ void ConsoleDebugger::openBpEditWindow( int editIdx, watchpointinfo *wp, bool fo connect( okButton, SIGNAL(clicked(void)), &dialog, SLOT(accept(void)) ); connect( cancelButton, SIGNAL(clicked(void)), &dialog, SLOT(reject(void)) ); + okButton->setIcon( style()->standardIcon( QStyle::SP_DialogOkButton ) ); + cancelButton->setIcon( style()->standardIcon( QStyle::SP_DialogCancelButton ) ); + okButton->setDefault(true); if ( wp != NULL )