Added prototype of an "Undo to system" button

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

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
}
};