Make library-rows a guint
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user