Skip to content

Commit

Permalink
> Fixed crash on scroll with big height of body
Browse files Browse the repository at this point in the history
  • Loading branch information
trueromanus committed Nov 27, 2024
1 parent d31039e commit e25c58e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Views/HttpRequestEditor.qml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Item {
if (backend.tabs.currentTab !== 'Request') return; //dirty hack but I don't know how to resolve it
if (backend.focusedHelpTextField) return; // fixing for text field in help

if (isNeedFocused && !textArea.activeFocus) {
if (isNeedFocused && !textArea.activeFocus && !textArea.focus) {
textArea.focus = true;
}
}
Expand Down
3 changes: 1 addition & 2 deletions src/Views/OpenApiExportWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,7 @@ ApplicationWindow {
anchors.horizontalCenter: routesEmptyBoxImage.horizontalCenter
font.pointSize: 10
horizontalAlignment: Text.AlignHCenter
text: "Routes not loaded yet<br>For loading the routes, select item from the <b>Save Options</b> or<br> fill field <b>Scheme URL</b> and press " +
(Qt.platform.os !== 'osx' ? "Ctrl-Z" : "Command-Z")
text: "Routes not loaded yet<br>For loading the routes, select item from the <b>Save Options</b> or<br> fill field <b>Scheme URL</b> and press F5"
}
}
}
Expand Down

0 comments on commit e25c58e

Please sign in to comment.