Skip to content

Commit

Permalink
[win-nix] fix bug 70982
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadushkin committed Oct 21, 2024
1 parent d820d35 commit 0e19f2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion win-linux/src/ceditortools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,8 @@ namespace CEditorTools

if ( result ) {
CAscTabData * data = new CAscTabData(opts.name);
data->setUrl(opts.wurl);
if (!(opts.srctype == etTemplateFile))
data->setUrl(opts.wurl);
data->setCloudName(opts.cloud);
data->setIsLocal( opts.srctype == etLocalFile || opts.srctype == etNewFile || opts.srctype == etTemplateFile ||
(opts.srctype == etRecentFile && !CExistanceController::isFileRemote(opts.url)) );
Expand Down

0 comments on commit 0e19f2e

Please sign in to comment.