mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
[Plugin manager] Use raw string for zip file path to avoid escaping '\U' in C:\Users. Fixes #17624
This commit is contained in:
parent
053fec89a2
commit
f180ea4454
@ -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( "" );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user