File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -170,16 +170,12 @@ void BeataDialog::selectedToTop()
170
170
171
171
void BeataDialog::copySelectedRowsToClipboard ()
172
172
{
173
- QgisApp* pApp = dynamic_cast <QgisApp*>(parentWidget ());
174
- if (pApp)
175
- pApp->editCopy (mLayer );
173
+ QgisApp::instance ()->editCopy (mLayer );
176
174
}
177
175
178
176
void BeataDialog::zoomMapToSelectedRows ()
179
177
{
180
- QgisApp* pApp = dynamic_cast <QgisApp*>(parentWidget ());
181
- if (pApp)
182
- pApp->zoomToSelected ();
178
+ QgisApp::instance ()->zoomToSelected ();
183
179
}
184
180
185
181
void BeataDialog::invertSelection ()
Original file line number Diff line number Diff line change 10
10
</rect >
11
11
</property >
12
12
<property name =" windowTitle" >
13
- <string >BEtter Attribute TAble </string >
13
+ <string >Attribute Table </string >
14
14
</property >
15
15
<layout class =" QVBoxLayout" >
16
16
<item >
You can’t perform that action at this time.
0 commit comments