dabo Commit
Revision 4586
Date: 2008-10-23 15:39:20 -0700 (Thu, 23 Oct 2008)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/4586
Changed:
U trunk/dabo/ui/uiwx/dForm.py
Log:
Fixed the status bar displaying "Record 1/0" when there are no records.
Diff:
Modified: trunk/dabo/ui/uiwx/dForm.py
===================================================================
--- trunk/dabo/ui/uiwx/dForm.py 2008-10-23 18:50:10 UTC (rev 4585)
+++ trunk/dabo/ui/uiwx/dForm.py 2008-10-23 22:39:20 UTC (rev 4586)
@@ -733,6 +733,8 @@
rowNumber = bizobj.RowNumber+1
else:
rowNumber = 1
+ if rowCount < 1:
+ return _("No records")
return _("Record %s/%s") % (rowNumber, rowCount)
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]