Skip to content

Commit

Permalink
attribute table: fixed the label, fixed zoom to selection and copy ro…
Browse files Browse the repository at this point in the history
…ws actions

git-svn-id: http://svn.osgeo.org/qgis/trunk@10365 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Mar 21, 2009
1 parent ba01aa6 commit b1c0642
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions src/app/attributetable/BeataDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,16 +170,12 @@ void BeataDialog::selectedToTop()

void BeataDialog::copySelectedRowsToClipboard()
{
QgisApp* pApp = dynamic_cast<QgisApp*>(parentWidget());
if (pApp)
pApp->editCopy(mLayer);
QgisApp::instance()->editCopy(mLayer);
}

void BeataDialog::zoomMapToSelectedRows()
{
QgisApp* pApp = dynamic_cast<QgisApp*>(parentWidget());
if (pApp)
pApp->zoomToSelected();
QgisApp::instance()->zoomToSelected();
}

void BeataDialog::invertSelection()
Expand Down
2 changes: 1 addition & 1 deletion src/ui/BeataGui.ui
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</rect>
</property>
<property name="windowTitle" >
<string>BEtter Attribute TAble</string>
<string>Attribute Table</string>
</property>
<layout class="QVBoxLayout" >
<item>
Expand Down

0 comments on commit b1c0642

Please sign in to comment.