Skip to content

Commit

Permalink
Plugin Manager: Disable focus by tab key for the 'Unistall' and 'Upgr…
Browse files Browse the repository at this point in the history
…ade all' buttons to prevent from accidental execution
  • Loading branch information
borysiasty committed Oct 17, 2017
1 parent ccb4672 commit a66566a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/ui/qgspluginmanagerbase.ui
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,9 @@
</property>
<item row="1" column="1">
<widget class="QSlider" name="voteSlider">
<property name="focusPolicy">
<enum>Qt::ClickFocus</enum>
</property>
<property name="minimum">
<number>1</number>
</property>
Expand All @@ -437,6 +440,9 @@
</item>
<item row="1" column="2">
<widget class="QPushButton" name="voteSubmit">
<property name="focusPolicy">
<enum>Qt::ClickFocus</enum>
</property>
<property name="text">
<string>Vote!</string>
</property>
Expand Down Expand Up @@ -471,6 +477,9 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="focusPolicy">
<enum>Qt::ClickFocus</enum>
</property>
<property name="toolTip">
<string>Upgrade all upgradeable plugins</string>
</property>
Expand All @@ -497,6 +506,9 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="focusPolicy">
<enum>Qt::ClickFocus</enum>
</property>
<property name="toolTip">
<string>Uninstall the selected plugin</string>
</property>
Expand Down Expand Up @@ -802,7 +814,7 @@
<property name="geometry">
<rect>
<x>0</x>
<y>-297</y>
<y>0</y>
<width>646</width>
<height>638</height>
</rect>
Expand Down

0 comments on commit a66566a

Please sign in to comment.