Skip to content

Commit

Permalink
Always use 'temporary scratch layer' instead of 'memory layer' in UI
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 3, 2015
1 parent aeafe3c commit c66e4ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/app/qgisapp.cpp
Expand Up @@ -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 )
Expand Down Expand Up @@ -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;
}

Expand Down
8 changes: 4 additions & 4 deletions src/ui/qgisapp.ui
Expand Up @@ -17,7 +17,7 @@
<x>0</x>
<y>0</y>
<width>1050</width>
<height>22</height>
<height>25</height>
</rect>
</property>
<property name="toolTip">
Expand Down Expand Up @@ -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">
Expand Down

0 comments on commit c66e4ff

Please sign in to comment.