Skip to content
Permalink
Browse files
[Plugin manager] Use raw string for zip file path to avoid escaping '…
…\U' in C:\Users. Fixes #17624
  • Loading branch information
borysiasty committed Dec 4, 2017
1 parent 053fec8 commit f180ea4
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1333,7 +1333,7 @@ void QgsPluginManager::mZipFileWidget_fileChanged( const QString &filePath )

void QgsPluginManager::buttonInstallFromZip_clicked()
{
QgsPythonRunner::run( QStringLiteral( "pyplugin_installer.instance().installFromZipFile('%1')" ).arg( mZipFileWidget->filePath() ) );
QgsPythonRunner::run( QStringLiteral( "pyplugin_installer.instance().installFromZipFile(r'%1')" ).arg( mZipFileWidget->filePath() ) );
mZipFileWidget->setFilePath( "" );
}

0 comments on commit f180ea4

Please sign in to comment.