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)); 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 // Explicit u16 definition: Qt would store it as QMetaType otherwise, which is not human-readable
template <> template <>

View file

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