Skip to content

Remember plugin across sessions + skip confirmation setting#5

Merged
gacarrillor merged 4 commits intogacarrillor:mainfrom
nirvn:improvements
Mar 19, 2025
Merged

Remember plugin across sessions + skip confirmation setting#5
gacarrillor merged 4 commits intogacarrillor:mainfrom
nirvn:improvements

Conversation

@nirvn
Copy link
Contributor

@nirvn nirvn commented Mar 19, 2025

@gacarrillor , here's a a couple of improvements I added to the plugin to make it that much pleasant and faster to use :)

image

This supersedes @mbernasocchi 's PR here: #4

Comment on lines +86 to +88
onAboutToShow: {
comboBoxPlugins.currentIndex = comboBoxPlugins.indexOfValue(reloaderSettings.pluginUuid);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mbernasocchi , this is what I was suggesting here -- and since the plugin name is possibly not unique nor static, it's much better to rely on pluginUuid.

Copy link
Owner

@gacarrillor gacarrillor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you!

}

QfComboBox {
ComboBox {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To make sure I learn from this, is this recommended in general or is it because QfComboBox won't have the style we'd like to show?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gacarrillor , within dialog popups, using ComboBox feels a lot more natural than QfComboBox. Ideally in the future I'd like to reduce the visual difference between QfComboBox and ComboBox, but for now let's agree to the rule that if we have a combo box within a dialog popup, we go for ComboBox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants