Mailinglist Archive: yast-commit (723 mails)

< Previous Next >
[yast-commit] r47393 - /trunk/dns-server/src/dialog-masterzone.ycp
  • From: locilka@xxxxxxxxxxxxxxxx
  • Date: Fri, 09 May 2008 08:51:42 -0000
  • Message-id: <20080509085142.8DC482DD9F@xxxxxxxxxxxxxxxx>
Author: locilka
Date: Fri May 9 10:51:42 2008
New Revision: 47393

URL: http://svn.opensuse.org/viewcvs/yast?rev=47393&view=rev
Log:
- Fixed "Records" handling (bnc #377029).
- 2.16.4



Modified:
trunk/dns-server/src/dialog-masterzone.ycp

Modified: trunk/dns-server/src/dialog-masterzone.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/dns-server/src/dialog-masterzone.ycp?rev=47393&r1=47392&r2=47393&view=diff
==============================================================================
--- trunk/dns-server/src/dialog-masterzone.ycp (original)
+++ trunk/dns-server/src/dialog-masterzone.ycp Fri May 9 10:51:42 2008
@@ -1039,11 +1039,14 @@
});

integer r = (integer)
- UI::QueryWidget (`id ("records_list"), `CurrentItem );
+ UI::QueryWidget (`id ("records_list"), `CurrentItem);
+ if (r == nil) r = items [0, 0, 0]:0;
+
UI::ChangeWidget (`id ("records_list"), `Items, items);
UI::ChangeWidget (`id ("records_list"), `CurrentItem, r);
UI::ChangeWidget (`id ("delete_record"), `Enabled, size (items) > 0);
UI::ChangeWidget (`id ("change_record"), `Enabled, size (items) > 0);
+
if (size (items) > 0)
{
r = (integer)

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages