Gui: fix 'Minimum fractional inch' preference visibility

Default Unit Schema is not yet changed in onUnitSystemIndexChanged
callback handler, so index needs to be used to request currently
selected one.

Fixes: 1155f0d752 ("Base: simplify UnitsSchemas management")
This commit is contained in:
Ladislav Michl
2025-08-26 19:26:04 +02:00
parent afa5be6ff5
commit 28c256ba07
2 changed files with 3 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ class Quantity;
/**
* An individual schema object
*/
class UnitsSchema
class BaseExport UnitsSchema
{
public:
explicit UnitsSchema(UnitsSchemaSpec spec);