Use tab title in close confirmation dialog
This commit is contained in:
parent
30d88d7ffa
commit
f07ad630c4
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue