Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disallow drag-and-drop in the city dialog lists #726

Merged
merged 1 commit into from
Nov 19, 2021

Conversation

lmoureaux
Copy link
Contributor

It was possible to drag-and-drop unit icons within the lists in the city dialog. This allowed one to seemingly duplicate units.

The reason for this was that QListView defaults to allowing drag and drop when in icon mode.

Closes #708.

It was possible to drag-and-drop unit icons within the lists in the city
dialog. This allowed one to seemingly duplicate units.

The reason for this was that QListView defaults to allowing drag and drop when
in icon mode.

Closes longturn#708.
Copy link
Collaborator

@jwrober jwrober left a comment

Choose a reason for hiding this comment

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

I can't drag any longer with this patch.

@lmoureaux lmoureaux merged commit 7066a26 into longturn:master Nov 19, 2021
@lmoureaux lmoureaux deleted the bugfix/unit-creation-dnd branch November 19, 2021 00:23
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.

One can multiply units with drag-and-drop in the city dialog
2 participants