mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-31 02:26:29 +03:00
File locator now displays the relative path to the open folder instead of the full path of a file.
Improve universal locator options when no folder is open (fixes SpartanJ/ecode#303).
This commit is contained in:
@@ -230,7 +230,7 @@ void App::openFileDialog() {
|
||||
}
|
||||
|
||||
std::string App::getLastUsedFolder() {
|
||||
if ( !mCurrentProject.empty() )
|
||||
if ( !mCurrentProject.empty() && mCurrentProject != getPlaygroundPath() )
|
||||
return mCurrentProject;
|
||||
if ( !mRecentFolders.empty() )
|
||||
return mRecentFolders.front();
|
||||
|
||||
Reference in New Issue
Block a user