Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Always use 'temporary scratch layer' instead of 'memory layer' in UI
- Loading branch information
Showing
with
6 additions
and
6 deletions.
-
+2
−2
src/app/qgisapp.cpp
-
+4
−4
src/ui/qgisapp.ui
|
@@ -6644,7 +6644,7 @@ QgsVectorLayer *QgisApp::pasteAsNewMemoryVector( const QString & theLayerName ) |
|
|
{ |
|
|
bool ok; |
|
|
QString defaultName = tr( "Pasted" ); |
|
|
layerName = QInputDialog::getText( this, tr( "New memory layer name" ), |
|
|
layerName = QInputDialog::getText( this, tr( "New temporary scratch layer name" ), |
|
|
tr( "Layer name" ), QLineEdit::Normal, |
|
|
defaultName, &ok ); |
|
|
if ( !ok ) |
|
@@ -6794,7 +6794,7 @@ QgsVectorLayer *QgisApp::pasteToNewMemoryVector() |
|
|
} |
|
|
layer->removeSelection(); |
|
|
|
|
|
QgsDebugMsg( QString( "%1 features pasted to memory layer" ).arg( layer->featureCount() ) ); |
|
|
QgsDebugMsg( QString( "%1 features pasted to temporary scratch layer" ).arg( layer->featureCount() ) ); |
|
|
return layer; |
|
|
} |
|
|
|
|
|
|
@@ -17,7 +17,7 @@ |
|
|
<x>0</x> |
|
|
<y>0</y> |
|
|
<width>1050</width> |
|
|
<height>22</height> |
|
|
<height>25</height> |
|
|
</rect> |
|
|
</property> |
|
|
<property name="toolTip"> |
|
@@ -2198,18 +2198,18 @@ Acts on currently active editable layer</string> |
|
|
</action> |
|
|
<action name="mActionPasteAsNewVector"> |
|
|
<property name="text"> |
|
|
<string>New Vector Layer</string> |
|
|
<string>New Vector Layer...</string> |
|
|
</property> |
|
|
<property name="toolTip"> |
|
|
<string>Paste features in clipboard into a new OGR vector layer.</string> |
|
|
</property> |
|
|
</action> |
|
|
<action name="mActionPasteAsNewMemoryVector"> |
|
|
<property name="text"> |
|
|
<string>New Memory Vector Layer</string> |
|
|
<string>New Temporary Scratch Layer...</string> |
|
|
</property> |
|
|
<property name="toolTip"> |
|
|
<string>Paste features in clipboard into a new memory vector layer.</string> |
|
|
<string>Paste features in clipboard into a new temporary scratch layer.</string> |
|
|
</property> |
|
|
</action> |
|
|
<action name="mActionDxfExport"> |
|
|