mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-05 14:55:06 +08:00
Use tab title in close confirmation dialog
This commit is contained in:
parent
30d88d7ffa
commit
f07ad630c4
@ -227,8 +227,8 @@ sub on_close {
|
||||
my $self = shift;
|
||||
|
||||
my @dirty;
|
||||
foreach (keys %{$self->{options_tabs}}) {
|
||||
push (@dirty, $_) if $self->{options_tabs}{$_}->is_dirty;
|
||||
foreach (values %{$self->{options_tabs}}) {
|
||||
push (@dirty, $_->title) if $_->is_dirty;
|
||||
}
|
||||
|
||||
if (@dirty) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user