mirror of
				https://github.com/Swordfish90/cool-retro-term.git
				synced 2025-10-31 07:04:20 +00:00 
			
		
		
		
	Remove useless frame settings.
This commit is contained in:
		| @@ -114,14 +114,5 @@ Tab{ | ||||
|                 SizedLabel{text: Math.round(burnInSlider.value * 100) + "%"} | ||||
|             } | ||||
|         } | ||||
|         GroupBox{ | ||||
|             title: qsTr("Frame") | ||||
|             Layout.fillWidth: true | ||||
|             CheckBox{ | ||||
|                 checked: appSettings._frameReflections | ||||
|                 text: qsTr("Frame Reflections") | ||||
|                 onCheckedChanged: appSettings._frameReflections = checked | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -63,32 +63,5 @@ Tab{ | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         GroupBox{ | ||||
|             title: qsTr("Frame") | ||||
|             Layout.fillWidth: true | ||||
|             RowLayout{ | ||||
|                 anchors.fill: parent | ||||
|                 ComboBox{ | ||||
|                     id: framescombobox | ||||
|                     Layout.fillWidth: true | ||||
|                     model: appSettings.framesList | ||||
|                     currentIndex: appSettings.framesIndex | ||||
|                     onActivated: { | ||||
|                         appSettings.frameName = appSettings.framesList.get(index).name; | ||||
|                     } | ||||
|                     function updateIndex(){ | ||||
|                         var name = appSettings.frameName; | ||||
|                         var index = appSettings.getFrameIndexByName(name); | ||||
|                         if (index !== undefined) | ||||
|                             currentIndex = index; | ||||
|                     } | ||||
|                     Component.onCompleted: updateIndex(); | ||||
|                     Connections { | ||||
|                         target: appSettings | ||||
|                         onFrameNameChanged: framescombobox.updateIndex(); | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user