add ok button to preference dialog

pull/110/head
Joseph C Wang 2018-01-13 03:38:38 +08:00 committed by Hleb Valoshka
parent 3fedf866ff
commit efea401e2c
1 changed files with 26 additions and 2 deletions

28
src/celestia/qt/preferences.ui 100644 → 100755
View File

@ -990,9 +990,33 @@
</layout>
</widget>
</widget>
</item>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox" >
<property name="standardButtons" >
<set>QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>preferencesDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<x>407</x>
<y>471</y>
</hint>
<hint type="destinationlabel" >
<x>8</x>
<y>445</y>
</hint>
</hints>
</connection>
</connections>
</ui>