Skip to content
Permalink
Browse files

Remove "Update options" button

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 e4a767a39adce2f62fe492a4e12bdc7a0ce32839
@@ -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)
@@ -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>
@@ -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>

0 comments on commit e4a767a

Please sign in to comment.
You can’t perform that action at this time.