geheur / bank-tag-custom-layouts

BSD 2-Clause "Simplified" License
8 stars 6 forks source link

Delete layout for inventory setups #75

Open orlp opened 1 year ago

orlp commented 1 year ago

Sometimes I've significantly changed a setup and would like to redo the layout. Especially with duplicates this can be quite annoying currently.

For normal bank tabs you can simply delete the layout and re-enable it to get a clean start. I seem unable to do this with inventory setups. Even if you delete the inventory setup and then re-create it with the same name, the layout is remembered.

I would like it if there was some way to delete a layout for an inventory setup. Perhaps an entry on the auto-layout button right click menu for "reset layout"?

geheur commented 1 year ago

I can see how this would be useful. The inventory setups integration does have some weak points, since I don't use inventory setups and don't run into these issues XD.

I think the best way to do this would be somehow through auto-layout, e.g. have a dropdown menu that lets you pick zigzag/preset/reset. Plus, the auto-layout confirmation interface would keep people from accidentally deleting their layouts with a misclick.

wouterrutgers commented 4 months ago

This would be great. Is there a way to manually delete the layouts (as in, go to file, press delete)?

gtjamesa commented 1 week ago

This would be great. Is there a way to manually delete the layouts (as in, go to file, press delete)?

If you go to your RuneLite properties file at $HOME/.runelite/profiles2/ProfileName.properties, you can find a setting under banktaglayouts.inventory_setups_layout_SETUP_NAME. I usually close RL, delete the line and reopen RL

For example, my Inventory Setup ToB - MDPS will be named banktaglayouts.inventory_setups_layout_ToB\ -\ MDPS