summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/symbols.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/dialog/symbols.cpp b/src/ui/dialog/symbols.cpp
index cac01c657..5649a7ee6 100644
--- a/src/ui/dialog/symbols.cpp
+++ b/src/ui/dialog/symbols.cpp
@@ -409,8 +409,10 @@ void SymbolsDialog::iconChanged() {
SPObject* symbol = symbolDocument->getObjectById(symbol_id);
if( symbol ) {
- // Select the symbol on the canvas so it can be manipulated
- currentDesktop->selection->set( symbol, false );
+ if( symbolDocument == currentDocument ) {
+ // Select the symbol on the canvas so it can be manipulated
+ currentDesktop->selection->set( symbol, false );
+ }
// Find style for use in <use>
// First look for default style stored in <symbol>