Skip to content

Commit e2e3815

Browse files
author
wonder
committed
attribute table: fixed the label, fixed zoom to selection and copy rows actions
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10365 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 380c373 commit e2e3815

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

src/app/attributetable/BeataDialog.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -170,16 +170,12 @@ void BeataDialog::selectedToTop()
170170

171171
void BeataDialog::copySelectedRowsToClipboard()
172172
{
173-
QgisApp* pApp = dynamic_cast<QgisApp*>(parentWidget());
174-
if (pApp)
175-
pApp->editCopy(mLayer);
173+
QgisApp::instance()->editCopy(mLayer);
176174
}
177175

178176
void BeataDialog::zoomMapToSelectedRows()
179177
{
180-
QgisApp* pApp = dynamic_cast<QgisApp*>(parentWidget());
181-
if (pApp)
182-
pApp->zoomToSelected();
178+
QgisApp::instance()->zoomToSelected();
183179
}
184180

185181
void BeataDialog::invertSelection()

src/ui/BeataGui.ui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</rect>
1111
</property>
1212
<property name="windowTitle" >
13-
<string>BEtter Attribute TAble</string>
13+
<string>Attribute Table</string>
1414
</property>
1515
<layout class="QVBoxLayout" >
1616
<item>

0 commit comments

Comments
 (0)