mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-05 23:05:10 +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 $self = shift;
|
||||||
|
|
||||||
my @dirty;
|
my @dirty;
|
||||||
foreach (keys %{$self->{options_tabs}}) {
|
foreach (values %{$self->{options_tabs}}) {
|
||||||
push (@dirty, $_) if $self->{options_tabs}{$_}->is_dirty;
|
push (@dirty, $_->title) if $_->is_dirty;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (@dirty) {
|
if (@dirty) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user