Skip to content
Permalink
Browse files

Always use 'temporary scratch layer' instead of 'memory layer' in UI

  • Loading branch information
nyalldawson committed Dec 3, 2015
1 parent aeafe3c commit c66e4ff625308f36b0006806e56b72b977b5010f
Showing with 6 additions and 6 deletions.
  1. +2 −2 src/app/qgisapp.cpp
  2. +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">

0 comments on commit c66e4ff

Please sign in to comment.
You can’t perform that action at this time.