borysiasty / plugin_reloader

QGIS plugin: Reloads a chosen plugin in one click (only useful for Python Plugin Developers)
GNU General Public License v3.0
19 stars 17 forks source link

grouped both actions into a single toolbutton with a menu #2

Closed ricardogsilva closed 9 years ago

ricardogsilva commented 9 years ago

This pull request groups the run and configre actions into a single tool button.

Current implementation

The current implementation adds two buttons to the plugins toolbar. One button allows reloading a plugin and the other button allows selecting which plugin should be reloaded: old_behaviour

Proposed change

The proposed change condenses these two actions under a single button. The button includes a dropdown that exposes a menu when selected. The menu holds both the run and configure actions: new_collapsed

new_open

The proposed change: