From e6e77de4faef04be8f5c8cdb2b91993e9cbc6b2b Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Mon, 4 Jul 2016 17:47:48 +0200 Subject: [PATCH] Fix double call of TransfertDataToWindows in 4 dialogs. make change working on KDE. --- pcbnew/dialogs/dialog_edit_module_for_BoardEditor.h | 2 +- pcbnew/dialogs/dialog_edit_module_for_Modedit.h | 2 +- pcbnew/dialogs/dialog_print_for_modedit.cpp | 2 +- pcbnew/dialogs/dialog_print_using_printer.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pcbnew/dialogs/dialog_edit_module_for_BoardEditor.h b/pcbnew/dialogs/dialog_edit_module_for_BoardEditor.h index 19b6972453..5f10d41ec4 100644 --- a/pcbnew/dialogs/dialog_edit_module_for_BoardEditor.h +++ b/pcbnew/dialogs/dialog_edit_module_for_BoardEditor.h @@ -95,7 +95,7 @@ private: void OnInitDlg( wxInitDialogEvent& event ) { // Call the default wxDialog handler of a wxInitDialogEvent - event.Skip(); + TransferDataToWindow(); // Now all widgets have the size fixed, call FinishDialogSettings FinishDialogSettings(); diff --git a/pcbnew/dialogs/dialog_edit_module_for_Modedit.h b/pcbnew/dialogs/dialog_edit_module_for_Modedit.h index 0aab025cc6..b28fefd11d 100644 --- a/pcbnew/dialogs/dialog_edit_module_for_Modedit.h +++ b/pcbnew/dialogs/dialog_edit_module_for_Modedit.h @@ -79,7 +79,7 @@ private: void OnInitDlg( wxInitDialogEvent& event ) { // Call the default wxDialog handler of a wxInitDialogEvent - event.Skip(); + TransferDataToWindow(); // Now all widgets have the size fixed, call FinishDialogSettings FinishDialogSettings(); diff --git a/pcbnew/dialogs/dialog_print_for_modedit.cpp b/pcbnew/dialogs/dialog_print_for_modedit.cpp index fc3c098702..d2239b2b4d 100644 --- a/pcbnew/dialogs/dialog_print_for_modedit.cpp +++ b/pcbnew/dialogs/dialog_print_for_modedit.cpp @@ -74,7 +74,7 @@ private: void OnInitDlg( wxInitDialogEvent& event ) { // Call the default wxDialog handler of a wxInitDialogEvent - event.Skip(); + TransferDataToWindow(); // Now all widgets have the size fixed, call FinishDialogSettings FinishDialogSettings(); diff --git a/pcbnew/dialogs/dialog_print_using_printer.cpp b/pcbnew/dialogs/dialog_print_using_printer.cpp index b8651e9501..86bcb0040c 100644 --- a/pcbnew/dialogs/dialog_print_using_printer.cpp +++ b/pcbnew/dialogs/dialog_print_using_printer.cpp @@ -97,7 +97,7 @@ private: void OnInitDlg( wxInitDialogEvent& event ) { // Call the default wxDialog handler of a wxInitDialogEvent - event.Skip(); + TransferDataToWindow(); // Now all widgets have the size fixed, call FinishDialogSettings FinishDialogSettings();