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 $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…
Reference in a new issue