Make library-rows a guint

This commit is contained in:
kramo
2023-08-26 17:54:30 +02:00
parent 5364e6a320
commit c607a65d1f
2 changed files with 2 additions and 2 deletions

View File

@@ -116,7 +116,7 @@
<key name="sgdb-animated" type="b">
<default>false</default>
</key>
<key name="library-rows" type="i">
<key name="library-rows" type="u">
<default>0</default>
</key>
</schema>

View File

@@ -115,7 +115,7 @@ class CartridgesWindow(Adw.ApplicationWindow):
style_manager.connect("notify::high-contrast", self.set_details_view_opacity)
# Allow for a custom number of rows for the library
if shared.schema.get_int("library-rows"):
if shared.schema.get_uint("library-rows"):
shared.schema.bind(
"library-rows",
self.library,