mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 17:27:52 -06:00
Added prototype of an "Undo to system" button
This commit is contained in:
parent
a41e55a773
commit
c3ec40c3cc
5 changed files with 19 additions and 6 deletions
|
@ -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
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue