Browse Source

- fix function/property name collision => rightViewVisible

cl-refactor
yann300 10 years ago
committed by yann300
parent
commit
3c859f2c0b
  1. 9
      mix/qml/MainContent.qml
  2. 2
      mix/qml/StatusPane.qml

9
mix/qml/MainContent.qml

@ -80,6 +80,11 @@ Rectangle {
rightView.show();
}
function rightViewIsVisible()
{
return rightView.visible;
}
function hideRightView() {
if (rightView.visible)
rightView.hide();
@ -89,10 +94,6 @@ Rectangle {
webPreview.visible = !webPreview.visible;
}
function rightViewVisible() {
return rightView.visible;
}
CodeEditorExtensionManager {
headerView: headerPaneTabs;
rightView: rightPaneTabs;

2
mix/qml/StatusPane.qml

@ -113,7 +113,7 @@ Rectangle {
Action {
id: debugRunActionIcon
onTriggered: {
if (mainContent.rightViewVisible())
if (mainContent.rightViewIsVisible())
mainContent.hideRightView()
else
mainContent.startQuickDebugging();

Loading…
Cancel
Save