summaryrefslogtreecommitdiffstats
path: root/src/helper/action-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helper/action-context.cpp')
-rw-r--r--src/helper/action-context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helper/action-context.cpp b/src/helper/action-context.cpp
index f211d775d..d52e43d96 100644
--- a/src/helper/action-context.cpp
+++ b/src/helper/action-context.cpp
@@ -6,7 +6,7 @@
*
* Copyright (C) 2013 Eric Greveson
*
- * This code is in public domain
+ * Released under GNU GPL, read the file 'COPYING' for more information
*/
#include "desktop.h"
@@ -47,7 +47,7 @@ SPDocument *ActionContext::getDocument() const
}
// Should be the same as the view's document, if view is non-NULL
- return _selection->layerModel()->getDocument();
+ return _selection->layers()->getDocument();
}
Selection *ActionContext::getSelection() const