Skip to content

Commit

Permalink
Remove "Update options" button
Browse files Browse the repository at this point in the history
It's hard to guess for a user what the button does.
And easy to achieve the same by changing the layer in the dropdown
  • Loading branch information
m-kuhn authored and nyalldawson committed Sep 1, 2020
1 parent a7bf220 commit e4a767a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion python/plugins/db_manager/dlg_import_vector.py
Expand Up @@ -86,7 +86,6 @@ def setupWorkingMode(self, mode):
if mode == self.ASK_FOR_INPUT_MODE:
self.btnChooseInputFile.clicked.connect(self.chooseInputFile)
self.cboInputLayer.currentTextChanged.connect(self.updateInputLayer)
self.btnUpdateInputLayer.clicked.connect(self.updateInputLayer)

self.editPrimaryKey.setText(self.default_pk)
self.editGeomColumn.setText(self.default_geom)
Expand Down
8 changes: 0 additions & 8 deletions python/plugins/db_manager/ui/DlgImportVector.ui
Expand Up @@ -82,13 +82,6 @@
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="btnUpdateInputLayer">
<property name="text">
<string>Update options</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
Expand Down Expand Up @@ -299,7 +292,6 @@
<tabstop>cboInputLayer</tabstop>
<tabstop>btnChooseInputFile</tabstop>
<tabstop>chkSelectedFeatures</tabstop>
<tabstop>btnUpdateInputLayer</tabstop>
<tabstop>cboSchema</tabstop>
<tabstop>cboTable</tabstop>
<tabstop>chkPrimaryKey</tabstop>
Expand Down

0 comments on commit e4a767a

Please sign in to comment.