mudlet-makers team mailing list archive
-
mudlet-makers team
-
Mailing list archive
-
Message #04849
[Bug 1229978] Re: setLabelStyleSheet() needs improvement in error handling
Migrating issues to Github, please follow the new discussion here:
https://github.com/Mudlet/Mudlet/issues/744
This issue needs to be closed and there is no appropriate status, so
will set it to "Opinion" just for migration purposes.
** Bug watch added: github.com/Mudlet/Mudlet/issues #744
https://github.com/Mudlet/Mudlet/issues/744
** Changed in: mudlet
Status: New => Opinion
--
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1229978
Title:
setLabelStyleSheet() needs improvement in error handling
Status in Mudlet:
Opinion
Bug description:
setLabelStyleSheet() currently only checks the two arguments to it
needed, and fails to notify when the label it is operating on is
missing
(http://sourceforge.net/p/mudlet/code/ci/master/tree/src/TConsole.cpp#l590).
It also doesn't notify then the CSS is invalid, but Qt doesn't seem to
support us there in that regard.
If the label setLabelStyleSheet() tries to operate on is missing, the
function should return nil, "setLabelStyleSheet: label $labelname"
doesn't exist"
To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1229978/+subscriptions
References