summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2005-08-08 08:53:41 +0000
committerAntoine Ginies <aginies@mandriva.com>2005-08-08 08:53:41 +0000
commit83b80e71782f43df1bc998f194d13483e3c895b2 (patch)
tree46b6728cd645ca23a995299caa4842c94b9c864d /perl-install/standalone
parent07fd53ae10e9246f6898c25044595054e128c169 (diff)
downloaddrakx-83b80e71782f43df1bc998f194d13483e3c895b2.tar
drakx-83b80e71782f43df1bc998f194d13483e3c895b2.tar.gz
drakx-83b80e71782f43df1bc998f194d13483e3c895b2.tar.bz2
drakx-83b80e71782f43df1bc998f194d13483e3c895b2.tar.xz
drakx-83b80e71782f43df1bc998f194d13483e3c895b2.zip
fix bug #17255
Diffstat (limited to 'perl-install/standalone')
-rw-r--r--perl-install/standalone/drakhosts1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/drakhosts b/perl-install/standalone/drakhosts
index ef005b0ce..e2ad56185 100644
--- a/perl-install/standalone/drakhosts
+++ b/perl-install/standalone/drakhosts
@@ -95,6 +95,7 @@ sub add_modify_entry {
if ($wanted =~ /modify/) {
$iter = $selection->get_selected;
+ $iter or info_dialog(N("Error"), N("Please add an host to be able to modify it.")) and return;
my $path = $model->get_path($iter);
$i = ($path->get_indices)[0];
$ip->set_text($listhosts[$i]{ip});