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
Hadi Charara
Dolphin
Commits
391ca9d5
Commit
391ca9d5
authored
Jun 19, 2021
by
Hadi Charara
Browse files
Fixed bug when changing folders and going back
parent
b3df7c60
Pipeline
#66661
passed with stage
in 5 minutes and 22 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/panels/readme/readmepanel.cpp
View file @
391ca9d5
...
...
@@ -53,11 +53,11 @@ void ReadmePanel::hideEvent(QHideEvent* event) {
bool
ReadmePanel
::
urlChanged
()
{
m_readmeUrl
=
Q
Url
(
url
().
toString
().
append
(
"/README.md"
));
m_readmeUrl
.
set
Url
(
(
url
().
toString
().
append
(
"/README.md"
))
)
;
QFileInfo
check_file
(
m_readmeUrl
.
path
());
if
(
!
m_readmeUrl
.
isValid
()
||
!
check_file
.
exists
())
{
this
->
parentWidget
()
->
hide
();
return
fals
e
;
return
tru
e
;
}
this
->
parentWidget
()
->
show
();
m_markdownPart
->
openUrl
(
m_readmeUrl
);
...
...
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