Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
c8712236
Commit
c8712236
authored
Apr 25, 2021
by
Mark Nauwelaerts
Browse files
project: set diff view position to top
parent
2626a9eb
Changes
1
Show whitespace changes
Inline
Side-by-side
addons/project/kateprojectpluginview.h
View file @
c8712236
...
...
@@ -117,6 +117,7 @@ public:
m_fixedView
.
view
->
document
()
->
setHighlightingMode
(
QStringLiteral
(
"Diff"
));
/** We don't want save dialog on close */
m_fixedView
.
view
->
document
()
->
setModified
(
false
);
m_fixedView
.
view
->
setCursorPosition
({
0
,
0
});
m_fixedView
.
restoreMenu
();
/** Activate this view */
m_mainWindow
->
activateView
(
m_fixedView
.
view
->
document
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment