[QGIS Commit] r10365 - in trunk/qgis/src: app/attributetable ui

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Mar 21 12:42:52 EDT 2009


Author: wonder
Date: 2009-03-21 12:42:52 -0400 (Sat, 21 Mar 2009)
New Revision: 10365

Modified:
   trunk/qgis/src/app/attributetable/BeataDialog.cpp
   trunk/qgis/src/ui/BeataGui.ui
Log:
attribute table: fixed the label, fixed zoom to selection and copy rows actions


Modified: trunk/qgis/src/app/attributetable/BeataDialog.cpp
===================================================================
--- trunk/qgis/src/app/attributetable/BeataDialog.cpp	2009-03-21 16:15:36 UTC (rev 10364)
+++ trunk/qgis/src/app/attributetable/BeataDialog.cpp	2009-03-21 16:42:52 UTC (rev 10365)
@@ -170,16 +170,12 @@
 
 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()

Modified: trunk/qgis/src/ui/BeataGui.ui
===================================================================
--- trunk/qgis/src/ui/BeataGui.ui	2009-03-21 16:15:36 UTC (rev 10364)
+++ trunk/qgis/src/ui/BeataGui.ui	2009-03-21 16:42:52 UTC (rev 10365)
@@ -10,7 +10,7 @@
    </rect>
   </property>
   <property name="windowTitle" >
-   <string>BEtter Attribute TAble</string>
+   <string>Attribute Table</string>
   </property>
   <layout class="QVBoxLayout" >
    <item>



More information about the QGIS-commit mailing list