Show a list of mods required to be enabled or disabled when mod is toggled - #200
Show a list of mods required to be enabled or disabled when mod is toggled#200dkhex wants to merge 1 commit into
Conversation
… mod is toggled Signed-off-by: dkhex <dk-hex@yandex.ru>
|
lgtm |
notwindstone
left a comment
There was a problem hiding this comment.
thanks for the contribution!
|
Okay, how many rows of text is acceptable for a QMessageBox? Or, maybe (if I don't be a lazy ass) I'll try to turn it into custom widget with scrollable list of affected mods. |
QMessageBox has the detailedText property which allows to dialog contain text of any length |
|
so we can make to show like 5 mods and then "and N more mods..." |
kaeeraa
left a comment
There was a problem hiding this comment.
consider using setDetailedText() or add new constructor: instead of outputting each mod name in message clamp it to first five and add "and N mods more..." in the end
show full list in detailedText



A simple QoL addition to "Confirm toggle/enable/disable" MessageBox.