← Back to team overview

kicad-developers team mailing list archive

[PATCH] lib-cache-rescue default button in dialog

 

Here's a patch that sets the 'OK' button as default in the rescue dialog.

--
Chris
commit 028e30fb7d422ae2d1aa2a6bcd60c4962e7385e9
Author: Chris Pavlina <cpavlin1@xxxxxxxxxxxxxx>
Date:   Sun May 3 12:37:50 2015 -0400

    Set default button in rescue dialog

diff --git a/eeschema/dialogs/dialog_rescue_each.cpp b/eeschema/dialogs/dialog_rescue_each.cpp
index 54e1842..58d1c30 100644
--- a/eeschema/dialogs/dialog_rescue_each.cpp
+++ b/eeschema/dialogs/dialog_rescue_each.cpp
@@ -86,6 +86,7 @@ DIALOG_RESCUE_EACH::DIALOG_RESCUE_EACH( SCH_EDIT_FRAME* aParent, std::vector<RES
       m_insideUpdateEvent( false )
 {
     m_Config = Kiface().KifaceSettings();
+    m_stdButtonsOK->SetDefault();
 }
 
 

Follow ups