Commit 3bfc6455 authored by Jérome Perrin's avatar Jérome Perrin

Make sure we have a default value when getting number of lines in listbox,...

Make sure we have a default value when getting number of lines in listbox, otherwise it will do arithmetics with None

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15734 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 097fe3b1
...@@ -500,7 +500,7 @@ ...@@ -500,7 +500,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>preferences/getPreferredListboxListModeLineCount | python: 30</string> </value> <value> <string>python: preferences.getPreference(\'preferred_listbox_list_mode_line_count\', 30)</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -500,7 +500,7 @@ ...@@ -500,7 +500,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>preferences/getPreferredListboxViewModeLineCount | python: 30</string> </value> <value> <string>python: preferences.getPreference(\'preferred_listbox_view_mode_line_count\', 15)</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
412 413
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment