Added prototype of an "Undo to system" button

This commit is contained in:
YuSanka committed 2018-03-15 09:55:31 +01:00
1 parent a41e55a773
commit c3ec40c3cc
5 files changed
+19 -6

No files matched your search

+2 -2
View File
@@ -483,8 +483,8 @@ sub new {
$right_sizer->Add($print_info_sizer, 0, wxEXPAND, 0);
# Callback for showing / hiding the print info box.
$self->{"print_info_box_show"} = sub {
if ($right_sizer->IsShown(4) != $_[0]) {
$right_sizer->Show(4, $_[0]);
if ($right_sizer->IsShown(5) != $_[0]) {
$right_sizer->Show(5, $_[0]);
$self->Layout
}
};