1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-17 09:04:27 +00:00

Rename SkeinPanel::on_close() to make it more generice

This commit is contained in:
Henrik Brix Andersen
2012-06-30 22:57:30 +02:00
parent 4f179a5197
commit df658eb636
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -232,7 +232,7 @@ sub config_wizard {
}
}
sub on_close {
sub check_unsaved_changes {
my $self = shift;
my @dirty;
@@ -242,7 +242,7 @@ sub on_close {
if (@dirty) {
my $titles = join ', ', @dirty;
my $confirm = Wx::MessageDialog->new($self, "You have unsaved changes ($titles). Exit anyway?",
my $confirm = Wx::MessageDialog->new($self, "You have unsaved changes ($titles). Discard changes and continue anyway?",
'Unsaved Presets', wxICON_QUESTION | wxOK | wxCANCEL);
return ($confirm->ShowModal == wxID_OK);
}