forked from qt-creator/qt-creator
VCS: Fix resolving active directory for temp editors
Amends c666c93882
.
Change-Id: Ib7aeb9616d3d527f829ece2a39eb5ddf77f9431e
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
5b7729a21a
commit
e003a02721
@@ -263,8 +263,8 @@ void StateListener::slotStateChanged()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (state.currentFile.isDir()) {
|
if (state.currentFile.isDir()) {
|
||||||
state.currentFile.clear();
|
|
||||||
state.currentFileDirectory = state.currentFile.absoluteFilePath();
|
state.currentFileDirectory = state.currentFile.absoluteFilePath();
|
||||||
|
state.currentFile.clear();
|
||||||
} else {
|
} else {
|
||||||
state.currentFileDirectory = state.currentFile.absolutePath();
|
state.currentFileDirectory = state.currentFile.absolutePath();
|
||||||
state.currentFileName = state.currentFile.fileName();
|
state.currentFileName = state.currentFile.fileName();
|
||||||
|
Reference in New Issue
Block a user