Skip to content

Commit c66e4ff

Browse files
committed
Always use 'temporary scratch layer' instead of 'memory layer' in UI
1 parent aeafe3c commit c66e4ff

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/app/qgisapp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6644,7 +6644,7 @@ QgsVectorLayer *QgisApp::pasteAsNewMemoryVector( const QString & theLayerName )
66446644
{
66456645
bool ok;
66466646
QString defaultName = tr( "Pasted" );
6647-
layerName = QInputDialog::getText( this, tr( "New memory layer name" ),
6647+
layerName = QInputDialog::getText( this, tr( "New temporary scratch layer name" ),
66486648
tr( "Layer name" ), QLineEdit::Normal,
66496649
defaultName, &ok );
66506650
if ( !ok )
@@ -6794,7 +6794,7 @@ QgsVectorLayer *QgisApp::pasteToNewMemoryVector()
67946794
}
67956795
layer->removeSelection();
67966796

6797-
QgsDebugMsg( QString( "%1 features pasted to memory layer" ).arg( layer->featureCount() ) );
6797+
QgsDebugMsg( QString( "%1 features pasted to temporary scratch layer" ).arg( layer->featureCount() ) );
67986798
return layer;
67996799
}
68006800

src/ui/qgisapp.ui

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<x>0</x>
1818
<y>0</y>
1919
<width>1050</width>
20-
<height>22</height>
20+
<height>25</height>
2121
</rect>
2222
</property>
2323
<property name="toolTip">
@@ -2198,18 +2198,18 @@ Acts on currently active editable layer</string>
21982198
</action>
21992199
<action name="mActionPasteAsNewVector">
22002200
<property name="text">
2201-
<string>New Vector Layer</string>
2201+
<string>New Vector Layer...</string>
22022202
</property>
22032203
<property name="toolTip">
22042204
<string>Paste features in clipboard into a new OGR vector layer.</string>
22052205
</property>
22062206
</action>
22072207
<action name="mActionPasteAsNewMemoryVector">
22082208
<property name="text">
2209-
<string>New Memory Vector Layer</string>
2209+
<string>New Temporary Scratch Layer...</string>
22102210
</property>
22112211
<property name="toolTip">
2212-
<string>Paste features in clipboard into a new memory vector layer.</string>
2212+
<string>Paste features in clipboard into a new temporary scratch layer.</string>
22132213
</property>
22142214
</action>
22152215
<action name="mActionDxfExport">

0 commit comments

Comments
 (0)