fix qt bugs

This commit is contained in:
David Griswold 2025-10-16 14:27:43 +03:00
parent 6ffe17c638
commit e8debf292d
2 changed files with 8 additions and 4 deletions

View file

@ -224,6 +224,7 @@ void QtConfig::WriteBasicSetting(const Settings::Setting<std::vector<Type>, rang
stringList.append(QString::number(item));
}
}
qt_config->setValue(name, stringList);
}
// Explicit u16 definition: Qt would store it as QMetaType otherwise, which is not human-readable
template <>

View file

@ -2,12 +2,15 @@
<ui version="4.0">
<class>ConfigureLayoutCycle</class>
<widget class="QDialog" name="ConfigureLayoutCycle">
<property name="windowModality">
<enum>Qt::ApplicationModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>398</width>
<height>310</height>
<width>395</width>
<height>334</height>
</rect>
</property>
<property name="sizePolicy">
@ -17,7 +20,7 @@
</sizepolicy>
</property>
<property name="windowTitle">
<string>Dialog</string>
<string>Configure Layout Cycling</string>
</property>
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
@ -25,7 +28,7 @@
<x>10</x>
<y>10</y>
<width>381</width>
<height>304</height>
<height>323</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout" stretch="1,1,0,0,1">