Browse Source

style

cl-refactor
arkpar 10 years ago
parent
commit
e4ee14bfad
  1. 4
      mix/qml/CodeEditorView.qml
  2. 1
      mix/qml/WebCodeEditor.qml

4
mix/qml/CodeEditorView.qml

@ -160,8 +160,7 @@ Item {
} }
} }
function setFontSize(size) function setFontSize(size) {
{
if (size <= 10 || size >= 48) if (size <= 10 || size >= 48)
return; return;
editorSettings.fontSize = size; editorSettings.fontSize = size;
@ -329,7 +328,6 @@ Item {
id: editorListModel id: editorListModel
} }
Action { Action {
id: increaseFontSize id: increaseFontSize
text: qsTr("Increase Font Size") text: qsTr("Increase Font Size")

1
mix/qml/WebCodeEditor.qml

@ -83,7 +83,6 @@ Item {
editorBrowser.runJavaScript("setFontSize(" + size + ")", function(result) {}); editorBrowser.runJavaScript("setFontSize(" + size + ")", function(result) {});
} }
Clipboard Clipboard
{ {
id: clipboard id: clipboard

Loading…
Cancel
Save